Skip to content

Commit bf3210f

Browse files
committed
try join instead of resolve
1 parent 6411f38 commit bf3210f

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'
22
import { execFile } from 'child_process'
3-
import { resolve } from 'path'
3+
import { join } from 'path'
44

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

0 commit comments

Comments
 (0)