@actions/glob: convert to an ESM module

This commit is contained in:
Daniel Kennedy
2026-01-28 21:10:43 -05:00
parent ed3ea3b5ba
commit ceb003d313
18 changed files with 87 additions and 67 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
import * as os from 'os'
import * as path from 'path'
import * as pathHelper from './internal-path-helper'
import * as pathHelper from './internal-path-helper.js'
import assert from 'assert'
import {Minimatch, IMinimatch, IOptions as IMinimatchOptions} from 'minimatch'
import {MatchKind} from './internal-match-kind'
import {Path} from './internal-path'
import {MatchKind} from './internal-match-kind.js'
import {Path} from './internal-path.js'
const IS_WINDOWS = process.platform === 'win32'