diff --git a/lib/util/devutil.js b/lib/util/devutil.js index 942b1c13..15436ede 100644 --- a/lib/util/devutil.js +++ b/lib/util/devutil.js @@ -46,7 +46,7 @@ devutil.listPidsByComm = function(adb, serial, comm, bin) { var pids = [] out.pipe(split()) .on('data', function(chunk) { - if (header&&chunk.toString().indexOf('bad pid') === -1) { + if (header && chunk.toString().indexOf('bad pid') === -1) { header = false } else {