Skip to content

Commit 2b0b9e9

Browse files
committed
update staged docs link
1 parent 90b6edb commit 2b0b9e9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cli/snap-tests-global/migration-lint-staged-merge-fail/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ VITE+ - The Unified Toolchain for the Web
88
! Warnings:
99
- Failed to merge staged config into vite.config.ts
1010
→ Manual follow-up:
11-
- Please add staged config to vite.config.ts manually, see https://viteplus.dev/config/
11+
- Please add staged config to vite.config.ts manually, see https://viteplus.dev/guide/migrate#lint-staged
1212

1313
> cat package.json # lint-staged config should be preserved when merge fails
1414
{

packages/cli/snap-tests-global/migration-lintstagedrc-merge-fail/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ VITE+ - The Unified Toolchain for the Web
88
! Warnings:
99
- Failed to merge staged config into vite.config.ts
1010
→ Manual follow-up:
11-
- Please add staged config to vite.config.ts manually, see https://viteplus.dev/config/
11+
- Please add staged config to vite.config.ts manually, see https://viteplus.dev/guide/migrate#lint-staged
1212

1313
> cat package.json # check package.json
1414
{

packages/cli/src/migration/migrator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ function mergeStagedConfigToViteConfig(
14301430
report,
14311431
);
14321432
infoMigration(
1433-
`Please add staged config to ${displayRelative(fullViteConfigPath)} manually, see https://viteplus.dev/config/`,
1433+
`Please add staged config to ${displayRelative(fullViteConfigPath)} manually, see https://viteplus.dev/guide/migrate#lint-staged`,
14341434
report,
14351435
);
14361436
return false;

0 commit comments

Comments
 (0)