fix incorrect commander.out reference - closes #5
This commit is contained in:
parent
c52ed87f9d
commit
f77e7d71d2
2
bin/6to5
2
bin/6to5
@ -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);
|
||||
}
|
||||
|
||||
@ -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": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user