refactor(env): refactor env module
test / test (push) Failing after 31m39s

This commit is contained in:
2026-10-27 01:18:23 +03:00
parent cf3a707a47
commit fc7f97b520
6 changed files with 33 additions and 27 deletions
+4 -4
View File
@@ -3,7 +3,7 @@ import os from "os";
import path from "path";
import through from "through2";
import download from "../common/download";
import { Env } from "../common/env";
import env from "../common/env";
import exec from "../common/exec";
import { System } from "../common/system";
import { HandlerWriter } from "../common/tail";
@@ -101,9 +101,9 @@ export class Android extends Sdk {
}
activate() {
Env.set("ANDROID_HOME", this.android_home);
Env.set("ANDROID_NDK_HOME", this.ndk_home);
Env.set("NDK_HOME", this.ndk_home);
env.set("ANDROID_HOME", this.android_home);
env.set("ANDROID_NDK_HOME", this.ndk_home);
env.set("NDK_HOME", this.ndk_home);
}
get adbBin(): string {