From ca41612109883b2bfd3979cc9afa63d372805c03 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 19 Jan 2015 08:53:42 +1100 Subject: [PATCH] use process.stdin.write instead of console.log to avoid console.log sprintf - fixes #527 --- bin/6to5/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/6to5/file.js b/bin/6to5/file.js index aeaf4001eb..6a1dd9b7fc 100644 --- a/bin/6to5/file.js +++ b/bin/6to5/file.js @@ -63,7 +63,7 @@ module.exports = function (commander, filenames) { fs.writeFileSync(commander.outFile, result.code); } else { - console.log(result.code); + process.stdout.write(result.code + "\n"); } };