Comparing version 1.1.0 to 1.1.1
@@ -53,7 +53,7 @@ #!/usr/bin/env node | ||
var path = require('path').join(process.cwd(), options.file); | ||
source = fs.readFileSync(path, "utf8"); | ||
source = parse(fs.readFileSync(path, "utf8")); | ||
if (options.inplace) { | ||
fs.writeSync(fs.openSync(path,'w+'), parse(source), 0, "utf8"); | ||
fs.writeSync(fs.openSync(path,'w+'), source, 0, "utf8"); | ||
} else { | ||
sys.puts(parse(source)); | ||
sys.puts(source); | ||
} | ||
@@ -60,0 +60,0 @@ } else { |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"preferGlobal": true, | ||
@@ -14,0 +14,0 @@ "repository": { |
53050