Skip to content

Commit 3d52515

Browse files
committed
chore(): Format source
1 parent 0a8c5a4 commit 3d52515

15 files changed

+20
-20
lines changed

WebKitDev/Functions/Install-CMake.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ function Install-CMake {
4646
$options += ('INSTALL_ROOT="{0}"' -f $installationPath);
4747
}
4848

49-
Install-FromMsi -Name 'cmake' -url $url -options $options;
49+
Install-FromMsi -Name 'cmake' -url $url -Options $options;
5050
}

WebKitDev/Functions/Install-FromExe.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ function Install-FromExe {
4747
Write-Information -MessageData ('{0} {1}' -f $installerPath,($options -join ' ')) -InformationAction Continue;
4848

4949
# According to https://stackoverflow.com/a/23797762 caching the handle is required to get ExitCode
50-
$process = Start-Process $installerPath -PassThru -ArgumentList $options;
51-
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUserDeclaredVarsMoreThanAssignments', '', Scope='Function')]
50+
$process = Start-Process $installerPath -Passthru -ArgumentList $options;
51+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUserDeclaredVarsMoreThanAssignments','',Scope = 'Function')]
5252
$handle = $process.Handle;
5353
$process.WaitForExit();
5454

5555
if ($process.ExitCode -ne 0) {
56-
Write-Error ('{0} installer failed with exit code {1}' -f $name, $process.ExitCode) -ErrorAction Stop;
56+
Write-Error ('{0} installer failed with exit code {1}' -f $name,$process.ExitCode) -ErrorAction Stop;
5757
}
5858

5959
# Update path

WebKitDev/Functions/Install-FromMsi.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ function Install-FromMsi {
5050
Write-Information -MessageData ('msiexec {0}' -f ($msiArgs -join ' ')) -InformationAction Continue;
5151

5252
# According to https://stackoverflow.com/a/23797762 caching the handle is required to get ExitCode
53-
$process = Start-Process msiexec -PassThru -ArgumentList $msiArgs;
54-
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUserDeclaredVarsMoreThanAssignments', '', Scope='Function')]
53+
$process = Start-Process msiexec -Passthru -ArgumentList $msiArgs;
54+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUserDeclaredVarsMoreThanAssignments','',Scope = 'Function')]
5555
$handle = $process.Handle;
5656
$process.WaitForExit();
5757

5858
if ($process.ExitCode -ne 0) {
59-
Write-Error ('{0} installer failed with exit code {1}' -f $name, $process.ExitCode) -ErrorAction Stop;
59+
Write-Error ('{0} installer failed with exit code {1}' -f $name,$process.ExitCode) -ErrorAction Stop;
6060
}
6161

6262
# Update path

WebKitDev/Functions/Install-Git.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ function Install-Git {
5353
$options += ('/DIR="{0}"' -f $installationPath);
5454
}
5555

56-
Install-FromExe -Name 'git' -url $url -options $options;
56+
Install-FromExe -Name 'git' -url $url -Options $options;
5757
}

WebKitDev/Functions/Install-LLVM.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ function Install-LLVM {
3838
$options += "/D=$installationPath"
3939
}
4040

41-
Install-FromExe -Name 'LLVM' -url $url -options $options -noVerify
41+
Install-FromExe -Name 'LLVM' -url $url -Options $options -noVerify
4242
}

WebKitDev/Functions/Install-Perl.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ function Install-Perl {
3636
$options += ('INSTALLDIR="{0}"' -f $installationPath);
3737
}
3838

39-
Install-FromMsi -Name 'perl' -url $url -options $options;
39+
Install-FromMsi -Name 'perl' -url $url -Options $options;
4040
}

WebKitDev/Functions/Install-Python.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function Install-Python {
5151
$options += ('TargetDir="{0}"' -f $installationPath)
5252
}
5353

54-
Install-FromExe -Name 'python' -url $pythonUrl -options $options;
54+
Install-FromExe -Name 'python' -url $pythonUrl -Options $options;
5555
}
5656
else {
5757
$pythonUrl = ('https://www.python.org/ftp/python/{0}/python-{0}.amd64.msi' -f $version);
@@ -66,7 +66,7 @@ function Install-Python {
6666
$options += ('TARGETDIR="{0}"' -f $installationPath);
6767
}
6868

69-
Install-FromMsi -Name 'python' -url $pythonUrl -options $options;
69+
Install-FromMsi -Name 'python' -url $pythonUrl -Options $options;
7070
}
7171

7272
# Install PIP

WebKitDev/Functions/Install-Ruby.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ function Install-Ruby {
3939
$options += ('/dir="{0}"' -f $installationPath);
4040
}
4141

42-
Install-FromExe -Name 'ruby' -url $url -options $options;
42+
Install-FromExe -Name 'ruby' -url $url -Options $options;
4343
}

WebKitDev/Functions/Install-SVN.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ function Install-SVN {
4141
$options += ('INSTALLDIR="{0}"' -f $installationPath);
4242
}
4343

44-
Install-FromMsi -Name 'svn' -url $url -options $options;
44+
Install-FromMsi -Name 'svn' -url $url -Options $options;
4545
}

WebKitDev/Functions/Install-VSBuildTools2015.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ function Install-VSBuildTools2015 {
3030
$options += ('/CustomInstallPath="{0}"' -f $installationPath);
3131
}
3232

33-
Install-FromExe -Name 'VSBuildTools2015' -url $url -options $options -noVerify;
33+
Install-FromExe -Name 'VSBuildTools2015' -url $url -Options $options -noVerify;
3434
}

0 commit comments

Comments
 (0)