add space before and after logic operation

This commit is contained in:
song
2018-02-08 00:01:30 +08:00
parent febac1dc0a
commit 2bcc7ada21

View File

@@ -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 {