provide base and pattern separately

This commit is contained in:
Robin Malfait 2024-10-25 17:21:23 +02:00 • committed by Jordan Pittman
parent 78b7f5e0ab
commit 354b8eaf80

View file

@ -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 })