Skip to content

Commit 96c0c42

Browse files
rChaozAdrianGonz97
andauthored
fix: sv check not allowing any arguments (#420)
* Fix the bug * Changeset * tweak --------- Co-authored-by: AdrianGonz97 <[email protected]>
1 parent 6dcbffa commit 96c0c42

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/cold-ligers-brake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'sv': patch
3+
---
4+
5+
fix: properly pass through arguments to `sv check`

packages/cli/commands/check.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const check = new Command('check')
1111
.description('a CLI for checking your Svelte code')
1212
// flags that we'll want to pass to `svelte-check`
1313
.allowUnknownOption(true)
14+
.allowExcessArguments(true)
1415
.option('-C, --cwd <path>', 'path to working directory', process.cwd())
1516
.configureHelp({
1617
formatHelp() {

0 commit comments

Comments
 (0)