From d1b92f590f67d2aa10158bac588ae3d36340b3c6 Mon Sep 17 00:00:00 2001 From: Matthew Andrews Date: Wed, 18 Mar 2015 14:55:42 +0000 Subject: [PATCH] Always log stdout & stderr --- tasks/nightwatch.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/nightwatch.js b/tasks/nightwatch.js index 58f6dbb0..a0297b99 100644 --- a/tasks/nightwatch.js +++ b/tasks/nightwatch.js @@ -2,10 +2,8 @@ var denodeify = require('denodeify'); var exec = denodeify(require('child_process').exec, function(err, stdout, stderr) { - if (err) { - console.log(stdout); - console.log(stderr); - } + console.log(stdout); + console.log(stderr); return [err]; }); var path = require('path');