@supa-magic/spm 0.2.5 → 0.2.6
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/spm.js +3 -2
- package/package.json +1 -1
package/dist/bin/spm.js
CHANGED
|
@@ -925,7 +925,8 @@ const registerInstallCommand = (program2) => {
|
|
|
925
925
|
await rm(downloadDir, { recursive: true, force: true });
|
|
926
926
|
const spmDir = join(projectRoot, ".spm");
|
|
927
927
|
const remaining = await readdir(spmDir).catch(() => []);
|
|
928
|
-
if (remaining.length === 0)
|
|
928
|
+
if (remaining.length === 0)
|
|
929
|
+
await rm(spmDir, { recursive: true, force: true });
|
|
929
930
|
stepper.stop();
|
|
930
931
|
const elapsed = Math.round((Date.now() - startedAt) / 1e3);
|
|
931
932
|
const timeStr = elapsed >= 60 ? `${Math.floor(elapsed / 60)}m${(elapsed % 60).toString().padStart(2, "0")}s` : `${elapsed}s`;
|
|
@@ -963,7 +964,7 @@ const banner = (version2) => [
|
|
|
963
964
|
`${shade}▝▜${light}████▛▘ ${reset$1}${dim}v${version2} ✨ supa-magic${reset$1}`,
|
|
964
965
|
`${shade} ▘${light} ▝`
|
|
965
966
|
].join("\n");
|
|
966
|
-
const version = "0.2.
|
|
967
|
+
const version = "0.2.6";
|
|
967
968
|
const program = new Command();
|
|
968
969
|
const gray = "\x1B[90m";
|
|
969
970
|
const reset = "\x1B[0m";
|