Skip to content

Commit 8d7074e

Browse files
Merge pull request #7313 from Shopify/fix-autoupgrade-pnpm-detection
Fix autoupgrade incorrectly skipping in development mode
2 parents 01a720b + a92af4d commit 8d7074e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli-kit/src/public/node/upgrade.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export async function runCLIUpgrade(): Promise<void> {
5555
const isGlobal = currentProcessIsGlobal()
5656

5757
// Don't auto-upgrade for development mode
58-
if (!isGlobal && isDevelopment()) {
58+
if (isDevelopment()) {
5959
outputInfo('Skipping upgrade in development mode.')
6060
return
6161
}

0 commit comments

Comments
 (0)