testing: Use ProcessInfo As Static Variable
Continuous Integration / Grammar Tests (push) Successful in 37s
Continuous Integration / Library Format Tests (push) Failing after 1m40s
Continuous Integration / Library Tests (push) Successful in 4m12s

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-05-22 00:19:05 -04:00
parent 8f9fbb86bf
commit 382f3de00a
+1 -1
View File
@@ -39,7 +39,7 @@ typealias TestContentRecord = (
)
func findPathEnv() -> [URL]? {
for (key, value) in ProcessInfo().environment {
for (key, value) in ProcessInfo.processInfo.environment {
if key == "PATH" {
return value.split(separator: ":").map { URL(filePath: "\($0)") }
}