Skip to content

Commit fec6d0c

Browse files
committed
fix: --ignore is not work
fix #76
1 parent 6b97953 commit fec6d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/mili

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ program
4646
.option('--force')
4747
.option('--no-deps', 'Need not install dependencies', false)
4848
.option('-r, --recursive', 'Upgrade recursive all subfolder')
49-
.option('--ignore [file]', 'the folder need not search', collect)
49+
.option('--ignore [file]', 'the folder need not search', collect, [])
5050
.option('--cwd [cwd]', 'Set the current work directory', absolutize)
5151
.action(option => {
5252
const { cwd, force = false, deps = true, recursive, ignore } = option

0 commit comments

Comments
 (0)