Skip to content

Commit f357308

Browse files
committed
refactor(migration): remove redundant auto-migration message for .nvmrc
1 parent d3997a3 commit f357308

4 files changed

Lines changed: 0 additions & 8 deletions

File tree

packages/cli/snap-tests-global/migration-nvmrc-lts/snap.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
> vp migrate --no-interactive # migration should detect .nvmrc with lts alias and auto-migrate
22
VITE+ - The Unified Toolchain for the Web
33

4-
5-
.nvmrc detected. Auto-migrating to .node-version...
64
◇ Migrated . to Vite+<repeat>
75
• Node <semver> pnpm <semver>
86
• 2 config updates applied

packages/cli/snap-tests-global/migration-nvmrc-node-alias/snap.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
> vp migrate --no-interactive # 'node' alias should be mapped to lts/* with an info message
22
VITE+ - The Unified Toolchain for the Web
33

4-
5-
.nvmrc detected. Auto-migrating to .node-version...
6-
74
"node" in .nvmrc is not a specific version; automatically mapping to "lts/*"
85
◇ Migrated . to Vite+<repeat>
96
• Node <semver> pnpm <semver>

packages/cli/snap-tests-global/migration-nvmrc/snap.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
> vp migrate --no-interactive # migration should detect .nvmrc and auto-migrate to .node-version
22
VITE+ - The Unified Toolchain for the Web
33

4-
5-
.nvmrc detected. Auto-migrating to .node-version...
64
◇ Migrated . to Vite+<repeat>
75
• Node <semver> pnpm <semver>
86
• 2 config updates applied

packages/cli/src/migration/bin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ async function confirmNodeVersionFileMigration(interactive: boolean): Promise<bo
182182
}
183183
return !!confirmed;
184184
}
185-
prompts.log.info('.nvmrc detected. Auto-migrating to .node-version...');
186185
return true;
187186
}
188187

0 commit comments

Comments
 (0)