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
@@ -1,6 +1,6 @@
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 run from "../run";
@@ -20,7 +20,7 @@ export class RufflePlayer extends FlashPlayer {
constructor(debug: boolean, version: string) {
super(debug, version || RufflePlayer.VERSION, RufflePlayer.ID);
this.baseUrl = Env.get("RUFFLE_URL") || this.BASE_URL;
this.baseUrl = env.get("RUFFLE_URL") || this.BASE_URL;
}
get link(): string {