provide base and pattern separately
This commit is contained in:
parent
78b7f5e0ab
commit
354b8eaf80
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ export async function handle(args: Result<ReturnType<typeof options>>) {
|
|||
}
|
||||
|
||||
// Use the specified root
|
||||
return [{ base: path.resolve(compiler.root.base, compiler.root.pattern), pattern: '**/*' }]
|
||||
return [{ base: compiler.root.base, pattern: compiler.root.pattern }]
|
||||
})().concat(compiler.globs)
|
||||
|
||||
let scanner = new Scanner({ sources })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue