@sanity/cli 3.92.1-next.3.8d6ac7cf26 → 3.92.1-next.30.cedda92b03
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/lib/_chunks-cjs/cli.js +4 -1
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/package.json +6 -6
- package/src/cli.ts +3 -0
- package/templates/blog/README.md +1 -1
- package/templates/clean/README.md +1 -1
- package/templates/ecommerce/README.md +1 -1
- package/templates/get-started/README.md +1 -1
- package/templates/moviedb/README.md +1 -1
- package/templates/quickstart/README.md +1 -1
package/lib/_chunks-cjs/cli.js
CHANGED
|
@@ -79649,7 +79649,10 @@ async function runCli(cliRoot, { cliVersion }) {
|
|
|
79649
79649
|
await flushTelemetry();
|
|
79650
79650
|
const error2 = typeof err.details == "string" ? err.details : err;
|
|
79651
79651
|
console.error(`
|
|
79652
|
-
${error2.stack ? neatStack(err) : error2}`),
|
|
79652
|
+
${error2.stack ? neatStack(err) : error2}`), err.cause && console.error(`
|
|
79653
|
+
Caused by:
|
|
79654
|
+
|
|
79655
|
+
${err.cause.stack ? neatStack(err.cause) : err.cause}`), cliCommandTrace.error(error2), process.exit(1);
|
|
79653
79656
|
});
|
|
79654
79657
|
}
|
|
79655
79658
|
async function getCoreModulePath(workDir, cliConfig) {
|