1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00

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 {