Skip to content

Commit

Permalink
Added proper support for multiple arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Borales committed Dec 5, 2022
1 parent d8b5ea8 commit 97ba8be
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# CHANGELOG

## 4.2.0 (5 Dev 2022)

- Added proper support for multiple arguments

## 4.1.0 (26 Nov 2022)

- Added `dir` option
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@borales/actions-yarn",
"version": "4.0.0",
"version": "4.2.0",
"main": "lib/index.js",
"scripts": {
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
@@ -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})
}

0 comments on commit 97ba8be

Please sign in to comment.