Skip to content

Commit 359fd37

Browse files
committed
fix: correct indentation in error messages in snap-test script
1 parent 47459d1 commit 359fd37

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/tools/src/snap-test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function assertGlobalCliBinaryMatchesCheckout(binDir: string, casesDir: string):
175175
if (fs.statSync(builtBinary).mtimeMs + 1000 < newestSourceMtime) {
176176
throw new Error(
177177
`Built Vite+ global CLI binary is older than the current checkout: ${builtBinary}\n` +
178-
'Run `cargo build -p vite_global_cli --release` before snap-test-global.',
178+
'Run `cargo build -p vite_global_cli --release` before snap-test-global.',
179179
);
180180
}
181181

@@ -186,8 +186,8 @@ function assertGlobalCliBinaryMatchesCheckout(binDir: string, casesDir: string):
186186

187187
throw new Error(
188188
`Global snap tests would use a stale vp binary from ${globalBinary}.\n` +
189-
`Expected it to match the current checkout build at ${builtBinary}.\n` +
190-
'Run `pnpm bootstrap-cli` or `pnpm bootstrap-cli:ci` before snap-test-global.',
189+
`Expected it to match the current checkout build at ${builtBinary}.\n` +
190+
'Run `pnpm bootstrap-cli` or `pnpm bootstrap-cli:ci` before snap-test-global.',
191191
);
192192
}
193193

0 commit comments

Comments
 (0)