Skip to content

Commit 4540719

Browse files
committed
fix: resolve incommitg input, close #313
1 parent 4ad0c33 commit 4540719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cfg-resolve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default ({input, flags = {}}) => {
2727
}
2828

2929
input = []
30-
.concat(input.length > 0 ? input : config?.input)
30+
.concat(input && input.length > 0 ? input : config?.input)
3131
.filter(Boolean)
3232
.map(file => path.join(path.resolve(root), file));
3333

0 commit comments

Comments
 (0)