From 2bcc7ada21be21b65423ffe56fdd252372b6cd03 Mon Sep 17 00:00:00 2001 From: song Date: Thu, 8 Feb 2018 00:01:30 +0800 Subject: [PATCH] add space before and after logic operation --- lib/util/devutil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {