Fixes #1 Allow for multiple artifacts
This commit is contained in:
11
src/Globber.ts
Normal file
11
src/Globber.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { GlobSync } from "glob";
|
||||
|
||||
export interface Globber {
|
||||
glob(pattern: string): string[]
|
||||
}
|
||||
|
||||
export class FileGlobber implements Globber {
|
||||
glob(pattern: string): string[] {
|
||||
return new GlobSync(pattern, { mark: true }).found
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user