Skip to content

Commit

Permalink
Emit normal output as info not warn
Browse files Browse the repository at this point in the history
  • Loading branch information
xzyfer committed Mar 4, 2018
1 parent abbc657 commit dd805fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/node-sass
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function run(options, emitter) {
function renderFile(file, options, emitter) {
options = getOptions([path.resolve(file)], options);
if (options.watch) {
emitter.emit('warn', util.format('=> changed: %s', file));
emitter.emit('info', util.format('=> changed: %s', file));
}
render(options, emitter);
}
Expand All @@ -355,7 +355,7 @@ function renderDir(options, emitter) {
renderFile(subject, options, emitter);
}, function(successful, arr) {
var outputDir = path.join(process.cwd(), options.output);
emitter.emit('warn', util.format('Wrote %s CSS files to %s', arr.length, outputDir));
emitter.emit('info', util.format('Wrote %s CSS files to %s', arr.length, outputDir));
process.exit();
});
});
Expand Down

0 comments on commit dd805fc

Please sign in to comment.