Skip to content

Commit fd6c0c8

Browse files
Fix term 'if' is not recognized
1 parent addd7a2 commit fd6c0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ $CompilersBinaryCache = if ($IsCrossCompiling) {
894894
}
895895

896896
function Get-BuiltToolchainTool([string] $Name) {
897-
return if ($Name) { "$CompilersBinaryCache\bin\$Name" } else { "$CompilersBinaryCache\bin" }
897+
if ($Name) { "$CompilersBinaryCache\bin\$Name" } else { "$CompilersBinaryCache\bin" }
898898
}
899899

900900
function Get-ClangDriverName([Platform] $Platform, [string] $Lang) {

0 commit comments

Comments
 (0)