idb kill
Summary: Introduce a new command to allow killing idb Reviewed By: lawrencelomax Differential Revision: D47911709 fbshipit-source-id: 970f1147a177bbcca0bdfa9e9ba970cdc8a914a3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bf96cc2f15
commit
1f63a25027
@@ -225,6 +225,14 @@ export class IOSDeviceManager {
|
||||
console.warn('Failed to determine Xcode version:', e);
|
||||
}
|
||||
}
|
||||
|
||||
async idbKill() {
|
||||
if (!this.idbConfig.idbPath || this.idbConfig.idbPath.length === 0) {
|
||||
return;
|
||||
}
|
||||
const cmd = `${this.idbConfig.idbPath} kill`;
|
||||
await exec(cmd);
|
||||
}
|
||||
}
|
||||
|
||||
function confirmSimulatorAppMatchesThatOfXcodeSelect(
|
||||
|
||||
Reference in New Issue
Block a user