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
+2 -2
View File
@@ -2,7 +2,7 @@ import fs from "fs";
import fse from "fs-extra";
import os from "os";
import path from "path";
import { Env } from "../common/env";
import env from "../common/env";
import { System } from "../common/system";
import { watch } from "../common/watch";
import { Sdk } from "../core/sdk";
@@ -31,7 +31,7 @@ export class FlashPlayer extends Sdk {
constructor(debug: boolean = false, version?: string, playerId = FlashPlayer.ID) {
super(playerId, version || FlashPlayer.VERSION);
this.debug = debug;
this.baseUrl = Env.get("FLASHPLAYER_URL") || this.BASE_URL;
this.baseUrl = env.get("FLASHPLAYER_URL") || this.BASE_URL;
}
prepare() {