Updating cwd

This commit is contained in:
Borales
2022-11-26 22:25:09 +01:00
parent 37ae1f22f9
commit d2ca561aa5
5 changed files with 23 additions and 15 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import {exec} from '@actions/exec'
export const run = async (cmd: string) => {
await exec('yarn', [cmd])
export const run = async (cmd: string, {cwd}: {cwd: string}) => {
await exec('yarn', [cmd], {cwd})
}