@withone/cli 1.13.7 → 1.13.8
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3805,7 +3805,7 @@ async function updateCommand() {
|
|
|
3805
3805
|
s.stop(`Update available: v${currentVersion} \u2192 v${latestVersion}`);
|
|
3806
3806
|
console.log(`Updating @withone/cli: v${currentVersion} \u2192 v${latestVersion}...`);
|
|
3807
3807
|
const code = await new Promise((resolve) => {
|
|
3808
|
-
const child = spawn2("npm", ["install", "-g", "@withone/cli@latest"], {
|
|
3808
|
+
const child = spawn2("npm", ["install", "-g", "@withone/cli@latest", "--force"], {
|
|
3809
3809
|
stdio: isAgentMode() ? "pipe" : "inherit",
|
|
3810
3810
|
shell: true
|
|
3811
3811
|
});
|