Skip to content

Commit

Permalink
Remove incorrect CWD setting (#64)
Browse files Browse the repository at this point in the history
This PR removes the setting that was incorrectly setting the CWD to the
`local-action` path. This shouldn't be changed, as it should run from
the location specified by the user.
  • Loading branch information
ncalteen authored May 17, 2024
2 parents 3378900 + 008c3fd commit 9b399fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/local-action
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function entrypoint() {
}

// Run the command.
execSync(command, { cwd: packagePath, stdio: 'inherit' })
execSync(command, { stdio: 'inherit' })
} catch (error) {
process.exit(error.status)
} finally {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@github/local-action",
"description": "Local Debugging for GitHub Actions",
"version": "1.5.0",
"version": "1.5.1",
"author": "Nick Alteen <[email protected]>",
"private": false,
"homepage": "https://github.com/github/local-action",
Expand Down

0 comments on commit 9b399fa

Please sign in to comment.