Skip to content

Commit d4a171a

Browse files
authored
fix(cli): make cleanGlobalCLIOptions() clean --force (vitejs#19999)
1 parent aacdb71 commit d4a171a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vite/src/node/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ function cleanGlobalCLIOptions<Options extends GlobalCLIOptions>(
9595
delete ret.filter
9696
delete ret.m
9797
delete ret.mode
98+
delete ret.force
9899
delete ret.w
99100

100101
// convert the sourcemap option to a boolean if necessary

0 commit comments

Comments
 (0)