mirror of
https://github.com/ncipollo/release-action
synced 2026-09-07 20:04:03 +00:00
12 lines
240 B
TypeScript
12 lines
240 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 })
|
|
}
|
|
}
|