Skip to content

Commit ff702de

Browse files
committed
util: Excise trailing whitespace in build.ps1.
1 parent 1098951 commit ff702de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/build.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ function Invoke-VsDevShell($Arch) {
638638
if ($ToBatch) {
639639
Write-Output "call `"$VSInstallRoot\Common7\Tools\VsDevCmd.bat`" $DevCmdArguments"
640640
} else {
641-
# This dll path is valid for VS2019 and VS2022, but it was under a vsdevcmd subfolder in VS2017
641+
# This dll path is valid for VS2019 and VS2022, but it was under a vsdevcmd subfolder in VS2017
642642
Import-Module "$VSInstallRoot\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
643643
Enter-VsDevShell -VsInstallPath $VSInstallRoot -SkipAutomaticLocation -DevCmdArguments $DevCmdArguments
644644

@@ -1450,7 +1450,7 @@ function Build-WiXProject() {
14501450
$ProductVersionArg = $ProductVersion
14511451
if (-not $Bundle) {
14521452
# WiX v4 will accept a semantic version string for Bundles,
1453-
# but Packages still require a purely numerical version number,
1453+
# but Packages still require a purely numerical version number,
14541454
# so trim any semantic versioning suffixes
14551455
$ProductVersionArg = [regex]::Replace($ProductVersion, "[-+].*", "")
14561456
}
@@ -1795,7 +1795,7 @@ function Build-Sanitizers([Platform]$Platform, $Arch) {
17951795
LLVM_ENABLE_PER_TARGET_RUNTIME_DIR = "YES";
17961796
COMPILER_RT_DEFAULT_TARGET_ONLY = "YES";
17971797
})
1798-
1798+
17991799
Build-CMakeProject `
18001800
-Src $SourceCache\llvm-project\compiler-rt `
18011801
-Bin "$(Get-TargetProjectBinaryCache $Arch ClangRuntime)" `
@@ -2719,7 +2719,7 @@ function Test-Format {
27192719
"-Xswiftc", "-I$(Get-HostProjectBinaryCache Format)\swift",
27202720
"-Xlinker", "-L$(Get-HostProjectBinaryCache Format)\lib"
27212721
)
2722-
2722+
27232723
Isolate-EnvVars {
27242724
$env:SWIFTFORMAT_BUILD_ONLY_TESTS=1
27252725
# Testing swift-format is faster in serial mode than in parallel mode, probably because parallel test execution

0 commit comments

Comments
 (0)