diff --git a/dist/index.js b/dist/index.js index 598f7bd..6a79287 100644 --- a/dist/index.js +++ b/dist/index.js @@ -97865,7 +97865,7 @@ var NixInstallerAction = class extends DetSysAction { return this.runnerOs === "Linux"; } get runningInAct() { - return process.env["ACT"] !== "" && !(process.env["NOT_ACT"] === ""); + return process.env["ACT"] !== void 0 && !(process.env["NOT_ACT"] === ""); } get runningInNamespaceRunner() { return process.env["NSC_VM_ID"] !== void 0 && !(process.env["NOT_NAMESPACE"] === "true"); diff --git a/src/index.ts b/src/index.ts index e43960f..3028607 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 {