node-simctl 9.1.2 → 9.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [9.1.3](https://github.com/appium/node-simctl/compare/v9.1.2...v9.1.3) (2026-11-06)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* Rethrow boot errors other than the already booted state ([#319](https://github.com/appium/node-simctl/issues/319)) ([80d6f37](https://github.com/appium/node-simctl/commit/80d6f37c68b9a46027da4cab406a5dce91f30111))
|
|
6
|
+
|
|
1
7
|
## [9.1.2](https://github.com/appium/node-simctl/compare/v9.1.1...v9.1.2) (2026-11-04)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
|
@@ -13,7 +13,7 @@ export async function bootDevice() {
|
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
catch (e) {
|
|
16
|
-
if (e.message?.includes('Unable to boot device in current state: Booted')) {
|
|
16
|
+
if (!e.message?.includes('Unable to boot device in current state: Booted')) {
|
|
17
17
|
throw e;
|
|
18
18
|
}
|
|
19
19
|
log.debug(LOG_PREFIX, `Simulator already in 'Booted' state. Continuing`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boot.js","sourceRoot":"","sources":["../../../lib/subcommands/boot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AAG7C;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU;IAC9B,IAAI,CAAC;QACH,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YACtB,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;SACjC,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,CAAM,EAAE,CAAC;QAChB,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,gDAAgD,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"boot.js","sourceRoot":"","sources":["../../../lib/subcommands/boot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AAG7C;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU;IAC9B,IAAI,CAAC;QACH,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YACtB,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;SACjC,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,CAAM,EAAE,CAAC;QAChB,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,gDAAgD,CAAC,EAAE,CAAC;YAC3E,MAAM,CAAC,CAAC;QACV,CAAC;QACD,GAAG,CAAC,KAAK,CAAC,UAAU,EAAE,iDAAiD,CAAC,CAAC;IAC3E,CAAC;AACH,CAAC"}
|
package/lib/subcommands/boot.ts
CHANGED
|
@@ -14,7 +14,7 @@ export async function bootDevice(this: Simctl): Promise<void> {
|
|
|
14
14
|
args: [this.requireUdid('boot')],
|
|
15
15
|
});
|
|
16
16
|
} catch (e: any) {
|
|
17
|
-
if (e.message?.includes('Unable to boot device in current state: Booted')) {
|
|
17
|
+
if (!e.message?.includes('Unable to boot device in current state: Booted')) {
|
|
18
18
|
throw e;
|
|
19
19
|
}
|
|
20
20
|
log.debug(LOG_PREFIX, `Simulator already in 'Booted' state. Continuing`);
|