Skip to content

Commit 45a42ee

Browse files
committed
fix: resolve path with root, close #326
1 parent c4014d3 commit 45a42ee

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/cfg-resolve.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ export default ({input, flags = {}}) => {
5858
({config} = explorer.search());
5959
}
6060

61+
if (config?.root) {
62+
root = config.root;
63+
}
64+
6165
input = []
6266
.concat(input && input.length > 0 ? input : config?.input)
6367
.filter(Boolean)

0 commit comments

Comments
 (0)