Files
release-action/src/Globber.ts
2023-04-01 17:33:40 -04:00

12 lines
239 B
TypeScript

import {globSync} from "glob";
export interface Globber {
glob(pattern: string): string[]
}
export class FileGlobber implements Globber {
glob(pattern: string): string[] {
return globSync(pattern, { mark: true })
}
}