Comparing version 0.3.5 to 0.3.6
@@ -41,4 +41,7 @@ "use strict"; | ||
ps.stdout.pipe(process.stdout); | ||
getStream(ps.stdout) | ||
.then((stdout) => resolve(stdout.replace(/\n$/, ''))) | ||
Promise.all([ | ||
getStream(ps.stdout).then((o) => o.replace(/\n$/, '')), | ||
ps, | ||
]) | ||
.then(([stdout]) => resolve(stdout)) | ||
.catch(reject); | ||
@@ -45,0 +48,0 @@ }); |
{ | ||
"name": "qqjs", | ||
"description": "useful functions for writing node scripts", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/jdxcode/qqjs/issues", |
23438
585