@cortask/core 0.2.34 → 0.2.36
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 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3044,11 +3044,8 @@ async function ensureInstalled() {
|
|
|
3044
3044
|
} catch {
|
|
3045
3045
|
throw new Error("agent-browser is not installed. Run: npm install -g agent-browser");
|
|
3046
3046
|
}
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
} catch {
|
|
3050
|
-
}
|
|
3051
|
-
await exec2(["close"], 5e3).catch(() => {
|
|
3047
|
+
exec2(["install"], 12e4).then(() => exec2(["close"], 5e3).catch(() => {
|
|
3048
|
+
})).catch(() => {
|
|
3052
3049
|
});
|
|
3053
3050
|
_installed = true;
|
|
3054
3051
|
}
|