Browse Source

Add missing require('fs')

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
f1391f33cd
  1. 2
      lib/net.js

2
lib/net.js

@ -1094,7 +1094,7 @@ Server.prototype.listen = function () {
if (!r.isSocket()) {
throw new Error("Non-socket exists at " + path);
} else {
fs.unlink(path, function (err) {
require('fs').unlink(path, function (err) {
if (err) throw err;
self._doListen(path);
});

Loading…
Cancel
Save