Skip to content

Commit 81b3704

Browse files
authored
Fix invalid variable reference (#163)
2 parents b82638f + d054747 commit 81b3704

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

bin/local-action.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ function entrypoint() {
118118
actionPackageDirs.pop()
119119
}
120120

121-
if (actionPackage.length === 0) {
122-
console.error(
121+
if (actionPackageDirs.length === 0) {
122+
console.log(
123123
'No package.json file found in the action directory or any parent directories.'
124124
)
125125
process.exit(1)

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@github/local-action",
33
"description": "Local Debugging for GitHub Actions",
4-
"version": "3.0.0",
4+
"version": "3.0.1",
55
"type": "module",
66
"author": "Nick Alteen <[email protected]>",
77
"private": false,

0 commit comments

Comments
 (0)