@actions/glob: fix minimatch imports (#2276)

This commit is contained in:
Daniel Kennedy
2026-01-29 13:30:54 -05:00
committed by GitHub
parent 9d912b1840
commit b48854e1ac
4 changed files with 12 additions and 4 deletions
+5 -1
View File
@@ -2,10 +2,14 @@ import * as os from 'os'
import * as path from 'path'
import * as pathHelper from './internal-path-helper.js'
import assert from 'assert'
import {Minimatch, IMinimatch, IOptions as IMinimatchOptions} from 'minimatch'
import minimatch from 'minimatch'
import {MatchKind} from './internal-match-kind.js'
import {Path} from './internal-path.js'
type IMinimatch = minimatch.IMinimatch
type IMinimatchOptions = minimatch.IOptions
const {Minimatch} = minimatch
const IS_WINDOWS = process.platform === 'win32'
export class Pattern {