Commit c1fa0b5e by Nick Schonning

Chore: Fix no-unused-expressions

http://eslint.org/docs/rules/no-unused-expressions
parent d6cd0134
...@@ -166,7 +166,7 @@ function getEmitter() { ...@@ -166,7 +166,7 @@ function getEmitter() {
emitter.on('done', function() { emitter.on('done', function() {
if (!options.watch && !options.directory) { if (!options.watch && !options.directory) {
process.exit; process.exit();
} }
}); });
...@@ -372,7 +372,7 @@ function renderDir(options, emitter) { ...@@ -372,7 +372,7 @@ function renderDir(options, emitter) {
}, function(successful, arr) { }, function(successful, arr) {
var outputDir = path.join(process.cwd(), options.output); var outputDir = path.join(process.cwd(), options.output);
emitter.emit('warn', util.format('Wrote %s CSS files to %s', arr.length, outputDir)); emitter.emit('warn', util.format('Wrote %s CSS files to %s', arr.length, outputDir));
process.exit; process.exit();
}); });
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment