svamp-cli 0.1.99 → 0.2.0
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/cli.mjs
CHANGED
|
@@ -249,7 +249,7 @@ async function main() {
|
|
|
249
249
|
} else if (!subcommand || subcommand === "start") {
|
|
250
250
|
await handleInteractiveCommand();
|
|
251
251
|
} else if (subcommand === "--version" || subcommand === "-v") {
|
|
252
|
-
const pkg = await import('./package-
|
|
252
|
+
const pkg = await import('./package-BVGYr9LS.mjs').catch(() => ({ default: { version: "unknown" } }));
|
|
253
253
|
console.log(`svamp version: ${pkg.default.version}`);
|
|
254
254
|
} else {
|
|
255
255
|
console.error(`Unknown command: ${subcommand}`);
|