@cortask/core 0.2.32 → 0.2.33
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3047,13 +3047,13 @@ async function ensureInstalled() {
|
|
|
3047
3047
|
await exec2(["install"], 12e4);
|
|
3048
3048
|
} catch {
|
|
3049
3049
|
}
|
|
3050
|
+
await exec2(["close"], 5e3).catch(() => {
|
|
3051
|
+
});
|
|
3050
3052
|
_installed = true;
|
|
3051
3053
|
}
|
|
3052
3054
|
async function ensureBrowser() {
|
|
3053
3055
|
if (instance) return instance;
|
|
3054
3056
|
await ensureInstalled();
|
|
3055
|
-
await exec2(["close"], 5e3).catch(() => {
|
|
3056
|
-
});
|
|
3057
3057
|
const inst = {
|
|
3058
3058
|
async run(args) {
|
|
3059
3059
|
return exec2(args);
|