]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
do not add extra newline
authorGirish Ramakrishnan <girish@forwardbias.in>
Sat, 28 Nov 2015 00:09:06 +0000 (16:09 -0800)
committerGirish Ramakrishnan <girish@forwardbias.in>
Sat, 28 Nov 2015 00:09:06 +0000 (16:09 -0800)
cli/actions.js

index 735b631600092ef4054895bd1577d9ffca22cb97..954ca6b36e27a7556dda9ed18ac6ea031402694f 100644 (file)
@@ -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);