Skip to content

Commit

Permalink
fix DEP0013 warning with -o option
Browse files Browse the repository at this point in the history
  • Loading branch information
jarnoh committed Jan 20, 2018
1 parent 8bff621 commit 42de905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin.js
Expand Up @@ -96,6 +96,6 @@ function output(err, tree) {

function done() {
if (!argv.output) return process.stdout.write(src)
fs.writeFile(argv.output, src)
fs.writeFileSync(argv.output, src)
}
}

0 comments on commit 42de905

Please sign in to comment.