Skip to content

Commit ebba6dc

Browse files
authored
Merge pull request swiftlang#2856 from compnerd/the-path-to-enlightenment
Workspace: use `ProcessEnv.path` rather `ProcessEnv.vars["PATH"]`
2 parents 0d26325 + 12fb703 commit ebba6dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Workspace/UserToolchain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public final class UserToolchain: Toolchain {
222222

223223
// Get the search paths from PATH.
224224
let searchPaths = getEnvSearchPaths(
225-
pathString: ProcessEnv.vars["PATH"], currentWorkingDirectory: localFileSystem.currentWorkingDirectory)
225+
pathString: ProcessEnv.path, currentWorkingDirectory: localFileSystem.currentWorkingDirectory)
226226

227227
self.envSearchPaths = searchPaths
228228

0 commit comments

Comments
 (0)