Skip to content

Commit 3271763

Browse files
author
devizer
committed
Module: Brush up tests, 9
1 parent 99d561f commit 3271763

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Install-SqlServer-Version-Management.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Param(
44
)
55

66
$ModuleName = 'SqlServer-Version-Management';
7-
$ModuleVersion = '2.1.170';
7+
$ModuleVersion = '2.1.171';
88
$ModuleFiles = @(
99
@{
1010
FileName = 'SqlServer-Version-Management\SqlServer-Version-Management.psd1';
@@ -15,7 +15,7 @@ $ModuleFiles = @(
1515
" ModuleToProcess = @('SqlServer-Version-Management.psm1')",
1616
"",
1717
" # Version below is automatically incremented on build",
18-
" ModuleVersion = `"2.1.170`"",
18+
" ModuleVersion = `"2.1.171`"",
1919
"",
2020
" GUID = 'dd03b53d-575a-4056-ae08-e6dfea3384ea'",
2121
"",
@@ -1985,8 +1985,8 @@ $ModuleFiles = @(
19851985
" `$vsid = `$_",
19861986
" `$nickname = `$VisualStudio_Setup_Metadata[`"`$VSID`"][`"Nickname`"]",
19871987
" `$commandLineArgs = Build-VisualStudio-Setup-Arguments `$kind `$nickname",
1988-
" if (`$nocache) { `$commandLineArgs = @(`$commandLineArgs) + `"--nocache`"}",
1989-
" Setup-VisualStudio `$vsid `$commandLineArgs",
1988+
" if (`$nocache) { `$commandLineArgs = `$commandLineArgs + `"--nocache`"}",
1989+
" Setup-VisualStudio `$vsid @(`$commandLineArgs | ? { `$_ })",
19901990
" `$okStarted = Wait-For-VisualStudio-Setup-Is-Running -Timeout (5*60*1000)",
19911991
" Write-Host `"Setup STARTED Success? `$okStarted`"",
19921992
" `$okCompleted = Wait-For-VisualStudio-Setup-Completed -Timeout (7200*1000)",

SqlServer-Version-Management.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,8 +1886,8 @@ function Test-Setup-VisualStudio([string] $kind = "Basic Components" <# or Mini
18861886
$vsid = $_
18871887
$nickname = $VisualStudio_Setup_Metadata["$VSID"]["Nickname"]
18881888
$commandLineArgs = Build-VisualStudio-Setup-Arguments $kind $nickname
1889-
if ($nocache) { $commandLineArgs = @($commandLineArgs) + "--nocache"}
1890-
Setup-VisualStudio $vsid $commandLineArgs
1889+
if ($nocache) { $commandLineArgs = $commandLineArgs + "--nocache"}
1890+
Setup-VisualStudio $vsid @($commandLineArgs | ? { $_ })
18911891
$okStarted = Wait-For-VisualStudio-Setup-Is-Running -Timeout (5*60*1000)
18921892
Write-Host "Setup STARTED Success? $okStarted"
18931893
$okCompleted = Wait-For-VisualStudio-Setup-Completed -Timeout (7200*1000)

0 commit comments

Comments
 (0)