Skip to content

Commit

Permalink
Fix check for ACT environment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed May 29, 2024
1 parent 9c4e8b2 commit ad8814a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class NixInstallerAction extends DetSysAction {
}

private get runningInAct(): boolean {
return process.env["ACT"] !== "" && !(process.env["NOT_ACT"] === "");
return process.env["ACT"] !== undefined && !(process.env["NOT_ACT"] === "");
}

private get runningInNamespaceRunner(): boolean {
Expand Down

0 comments on commit ad8814a

Please sign in to comment.