Skip to content

Commit ac2b74d

Browse files
committed
fix:use resolve instead of join
1 parent d82f4d3 commit ac2b74d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { info, setFailed, getInput, warning } from '@actions/core'
2-
import { join as path } from 'path'
32
import { execFile } from 'child_process'
3+
import { resolve } from 'path'
44

55
try {
66
checkInputs()
7-
const child = execFile(path(__dirname, 'entrypoint.sh'))
7+
const child = execFile(resolve(__dirname, 'entrypoint.sh'))
88
child.stdout?.pipe(process.stdout)
99
child.stderr?.pipe(process.stderr)
1010
} catch (err) {

0 commit comments

Comments
 (0)