@actions/exec: convert to ESM module

This commit is contained in:
Daniel Kennedy committed 2026-01-28 15:59:40 -05:00
1 parent 89ed8a4fe6
commit 8499e2aba9
15 files changed
+52 -33

No files matched your search

@@ -15,10 +15,10 @@ if (!filePath) {
throw new Error('file is not specified')
}
// Spawn wait-for-file.js with inherited stdio
// Spawn wait-for-file.cjs with inherited stdio
// This creates a grandchild process that holds the stdio handles open
// after this process (the child) exits
const waitScript = path.join(__dirname, 'wait-for-file.js')
const waitScript = path.join(__dirname, 'wait-for-file.cjs')
const isWindows = process.platform === 'win32'
// On Windows, use detached:true to properly keep streams open
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.