Skip to content

Commit

Permalink
chore: fail
Browse files Browse the repository at this point in the history
  • Loading branch information
HigherOrderLogic committed Sep 13, 2023
1 parent f3a1836 commit 04f6b0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default defineCommand({
.trim()
consola.info('Package Manager:', packageManager, packageManagerVersion)

let nuxtDirsClean = false
let nuxtDirsCleaned = false

for (const packageName of [
'nuxt',
Expand Down Expand Up @@ -104,9 +104,9 @@ export default defineCommand({
}

// Cleanup after upgrade
if (!nuxtDirsClean) {
if (!nuxtDirsCleaned) {
await cleanupNuxtDirs(cwd)
nuxtDirsClean = true
nuxtDirsCleaned = true
}

// Install latest version
Expand Down

0 comments on commit 04f6b0d

Please sign in to comment.