mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-27 10:59:27 +08:00
Added proper support for multiple arguments
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
import {exec} from '@actions/exec'
|
||||
|
||||
export const run = async (cmd: string, {cwd}: {cwd: string}) => {
|
||||
await exec('yarn', [cmd], {cwd})
|
||||
await exec('yarn', cmd.split(' '), {cwd})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user