Skip to content

Commit 5949d08

Browse files
committed
Remove environment testing variables
1 parent 4cd61cd commit 5949d08

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/Launch.lua

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@
44
-- Module: Launch
55
-- Program entry point; loads and runs the Main module within a protected environment
66
--
7-
local env_pob_test_mode_raw = os.getenv("POB_TEST_MODE")
87

9-
print("--- Debugging POB_TEST_MODE ---")
10-
print("Raw POB_TEST_MODE from os.getenv:", tostring(env_pob_test_mode_raw))
11-
local isTestMode = env_pob_test_mode_raw == "1"
12-
print("isTestMode calculated value:", tostring(isTestMode))
13-
print("-------------------------------")
8+
-- This env variable is set in both test.yml and docker-compose.yml
9+
local isTestMode = os.getenv("POB_TEST_MODE") == "1"
1410

1511
local startTime = GetTime()
1612
APP_NAME = "Path of Building (PoE2)"

0 commit comments

Comments
 (0)