Skip to content

Commit

Permalink
Fix invalid variable reference (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncalteen authored Mar 6, 2025
2 parents b82638f + d054747 commit 81b3704
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bin/local-action.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ function entrypoint() {
actionPackageDirs.pop()
}

if (actionPackage.length === 0) {
console.error(
if (actionPackageDirs.length === 0) {
console.log(
'No package.json file found in the action directory or any parent directories.'
)
process.exit(1)
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": "3.0.0",
"version": "3.0.1",
"type": "module",
"author": "Nick Alteen <[email protected]>",
"private": false,
Expand Down

0 comments on commit 81b3704

Please sign in to comment.