mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 00:03:28 +02:00
add space before and after logic operation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user