Skip to content

Commit 8683d67

Browse files
committed
Don't log all our maybe-rooted tests
1 parent 0258fe2 commit 8683d67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/interceptors/android/adb-commands.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,10 @@ export async function pushFile(
235235
}
236236

237237
export async function isProbablyRooted(deviceClient: Adb.DeviceClient) {
238-
return run(deviceClient, ['command', '-v', 'su'], { timeout: 500 })
238+
return run(deviceClient, ['command', '-v', 'su'], {
239+
timeout: 500,
240+
skipLogging: true
241+
})
239242
.then((result) => result.includes('/su'))
240243
.catch(() => false);
241244
}

0 commit comments

Comments
 (0)