fix incorrect commander.out reference - closes #5

This commit is contained in:
Sebastian McKenzie 2014-10-08 23:13:03 +11:00
parent c52ed87f9d
commit f77e7d71d2
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ if (commander.outDir) {
data = data.join("");
if (commander.outFile) {
fs.writeFileSync(commander.out, data);
fs.writeFileSync(commander.outFile, data);
} else {
console.log(data);
}

View File

@ -1,7 +1,7 @@
{
"name": "6to5",
"description": "Turn ES6 code into vanilla ES5 with source maps and no runtime",
"version": "1.0.0",
"version": "1.0.1",
"author": "Sebastian McKenzie <sebmck@gmail.com>",
"homepage": "https://github.com/sebmck/6to5",
"repository": {