From: Girish Ramakrishnan Date: Sat, 28 Nov 2015 00:09:06 +0000 (-0800) Subject: do not add extra newline X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=9d2701fe372975dd39d8a7834ffd9a7690dd0622;hp=1c20715d8249ae081aae56f27e12e225282e9e38;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git do not add extra newline --- diff --git a/cli/actions.js b/cli/actions.js index 735b631..954ca6b 100644 --- a/cli/actions.js +++ b/cli/actions.js @@ -139,7 +139,7 @@ function get(filePath) { console.log('\t %s', entry); }); } else { - console.log(body); + process.stdout.write(body); } }); // var req = superagent.get(config.server() + API + filePath);