Permalink
Browse files

Clean up indention on module compile

Remove strange code artifact
  • Loading branch information...
1 parent d49d53f commit ce8c30c9dee6ba03cfd37ca29bb397677a38f777 @ry ry committed Jun 30, 2010
Showing with 3 additions and 6 deletions.
  1. +3 −6 lib/module.js
View
@@ -376,12 +376,9 @@ Module.prototype._compile = function (content, filename) {
+ content
+ "\n});";
- var compiledWrapper = process.compile(wrapper, filename);
- var dirName = path.dirname(filename);
- if (filename === process.argv[1]) {
- process.checkBreak();
- }
- compiledWrapper.apply(self.exports, [self.exports, require, self, filename, dirName]);
+ var compiledWrapper = process.compile(wrapper, filename);
+ var dirName = path.dirname(filename);
+ compiledWrapper.apply(self.exports, [self.exports, require, self, filename, dirName]);
} else {
self.exports = content;
}

0 comments on commit ce8c30c

Please sign in to comment.