mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 13:32:06 +01:00
Fix check for ACT environment
This commit is contained in:
parent
9c4e8b237e
commit
ad8814ae5d
2 changed files with 2 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -97865,7 +97865,7 @@ var NixInstallerAction = class extends DetSysAction {
|
||||||
return this.runnerOs === "Linux";
|
return this.runnerOs === "Linux";
|
||||||
}
|
}
|
||||||
get runningInAct() {
|
get runningInAct() {
|
||||||
return process.env["ACT"] !== "" && !(process.env["NOT_ACT"] === "");
|
return process.env["ACT"] !== void 0 && !(process.env["NOT_ACT"] === "");
|
||||||
}
|
}
|
||||||
get runningInNamespaceRunner() {
|
get runningInNamespaceRunner() {
|
||||||
return process.env["NSC_VM_ID"] !== void 0 && !(process.env["NOT_NAMESPACE"] === "true");
|
return process.env["NSC_VM_ID"] !== void 0 && !(process.env["NOT_NAMESPACE"] === "true");
|
||||||
|
|
|
@ -134,7 +134,7 @@ class NixInstallerAction extends DetSysAction {
|
||||||
}
|
}
|
||||||
|
|
||||||
private get runningInAct(): boolean {
|
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 {
|
private get runningInNamespaceRunner(): boolean {
|
||||||
|
|
Loading…
Reference in a new issue