Skip to content

Commit cfdc803

Browse files
Fix type
1 parent bf3f508 commit cfdc803

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/services/android-debug-service.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,20 +165,20 @@ class AndroidDebugService extends DebugServiceBase implements IPlatformDebugServ
165165
private async waitForDebugger(packageName: String): Promise<void> {
166166
let waitText: string = `0 /data/local/tmp/${packageName}-debugger-started`;
167167
let maxWait = 12;
168-
let debugerStarted: boolean = false;
169-
while (maxWait > 0 && !debugerStarted) {
168+
let debuggerStarted: boolean = false;
169+
while (maxWait > 0 && !debuggerStarted) {
170170
let forwardsResult = await this.device.adb.executeShellCommand(["ls", "-s", `/data/local/tmp/${packageName}-debugger-started`]);
171171

172172
maxWait--;
173173

174-
debugerStarted = forwardsResult.indexOf(waitText) === -1;
174+
debuggerStarted = forwardsResult.indexOf(waitText) === -1;
175175

176-
if (!debugerStarted) {
176+
if (!debuggerStarted) {
177177
await sleep(500);
178178
}
179179
}
180180

181-
if (debugerStarted) {
181+
if (debuggerStarted) {
182182
this.$logger.info("# NativeScript Debugger started #");
183183
} else {
184184
this.$logger.warn("# NativeScript Debugger did not start in time #");

0 commit comments

Comments
 (0)