@getmonoceros/workbench 1.26.3 → 1.26.4
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/bin.js +7 -5
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -7340,7 +7340,7 @@ var CLI_VERSION;
|
|
|
7340
7340
|
var init_version = __esm({
|
|
7341
7341
|
"src/version.ts"() {
|
|
7342
7342
|
"use strict";
|
|
7343
|
-
CLI_VERSION = true ? "1.26.
|
|
7343
|
+
CLI_VERSION = true ? "1.26.4" : "dev";
|
|
7344
7344
|
}
|
|
7345
7345
|
});
|
|
7346
7346
|
|
|
@@ -9200,7 +9200,7 @@ async function runRemove(opts) {
|
|
|
9200
9200
|
logger.info(
|
|
9201
9201
|
`[remove] host-side rm hit ${code} on ${prettyPath(containerPath)}; using a throw-away alpine container to clean root-owned files\u2026`
|
|
9202
9202
|
);
|
|
9203
|
-
const { exitCode: exit } = await dockerExec([
|
|
9203
|
+
const { exitCode: exit, stderr } = await dockerExec([
|
|
9204
9204
|
"run",
|
|
9205
9205
|
"--rm",
|
|
9206
9206
|
"-v",
|
|
@@ -9212,12 +9212,14 @@ async function runRemove(opts) {
|
|
|
9212
9212
|
"1",
|
|
9213
9213
|
"-delete"
|
|
9214
9214
|
]);
|
|
9215
|
-
|
|
9215
|
+
try {
|
|
9216
|
+
await fs15.rm(containerPath, { recursive: true, force: true });
|
|
9217
|
+
} catch (err2) {
|
|
9218
|
+
const code2 = err2.code;
|
|
9216
9219
|
throw new Error(
|
|
9217
|
-
`docker-based cleanup of ${containerPath}
|
|
9220
|
+
`docker-based cleanup of ${containerPath} did not fully clear it (alpine find exit ${exit}${stderr.trim() ? `: ${stderr.trim()}` : ""}; host rm: ${code2}). Inspect with \`sudo ls -la ${containerPath}\` and clean manually.`
|
|
9218
9221
|
);
|
|
9219
9222
|
}
|
|
9220
|
-
await fs15.rm(containerPath, { recursive: true, force: true });
|
|
9221
9223
|
}
|
|
9222
9224
|
}
|
|
9223
9225
|
logger.success(
|