Skip to content

Commit ea37cec

Browse files
committed
fix(scriptlet): adding runtimes
1 parent 39a23e8 commit ea37cec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/scriptlet.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ const toolCommandMap = new Map([
4545
['php', (scriptPath) => `php ${scriptPath}`],
4646
['node', (scriptPath) => `node ${scriptPath}`],
4747
['bash', (scriptPath) => `bash ${scriptPath}`],
48+
['zsh', (scriptPath) => `zsh ${scriptPath}`],
49+
['fish', (scriptPath) => `fish ${scriptPath}`],
50+
['sh', (scriptPath) => `sh ${scriptPath}`],
4851
['cmd', (scriptPath) => `cmd /s /c ${scriptPath}`],
4952
['powershell', (scriptPath) => `powershell -File ${scriptPath}`],
53+
['pwsh', (scriptPath) => `pwsh -File ${scriptPath}`],
5054
['lua', (scriptPath) => `lua ${scriptPath}`],
5155
['r', (scriptPath) => `Rscript ${scriptPath}`],
5256
['groovy', (scriptPath) => `groovy ${scriptPath}`],

0 commit comments

Comments
 (0)