File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ struct UserToolchain: Toolchain {
4343#endif
4444
4545 /// Lookup an executable path from environment variable value. This method searches in the following order:
46- /// * If env value is a valid abolsute path, return it.
46+ /// * If env value is a valid absolute path, return it.
4747 /// * If env value is relative path, first try to locate it in current working directory.
4848 /// * Otherwise, in provided search paths.
4949 ///
5050 /// - Parameters:
5151 /// - value: The value from environment variable.
5252 /// - cwd: The current working directory to look in.
53- /// - searchPath: The addtional search path to look in if not found in cwd.
53+ /// - searchPath: The additional search path to look in if not found in cwd.
5454 /// - Returns: Valid path to executable if present, otherwise nil.
5555 static func lookupExecutablePath( inEnvValue value: String ? , currentWorkingDirectory cwd: AbsolutePath , searchPaths: [ AbsolutePath ] ) -> AbsolutePath ? {
5656 // We should have a value to continue.
You can’t perform that action at this time.
0 commit comments