File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,8 @@ $toolsList = @(
120120)
121121if ((Test-IsWin16 ) -or (Test-IsWin19 )) {
122122 $toolsList += @ (
123- (Get-GoogleCloudSDKVersion )
123+ (Get-GoogleCloudSDKVersion ),
124+ (Get-ServiceFabricSDKVersion )
124125 )
125126}
126127$markdown += New-MDList - Style Unordered - Lines ($toolsList | Sort-Object )
Original file line number Diff line number Diff line change @@ -249,6 +249,11 @@ function Get-GoogleCloudSDKVersion {
249249 (gcloud -- version) -match " Google Cloud SDK"
250250}
251251
252+ function Get-ServiceFabricSDKVersion {
253+ $serviceFabricSDKVersion = Get-ItemPropertyValue ' HKLM:\SOFTWARE\Microsoft\Service Fabric\' - Name FabricVersion
254+ return " Service Fabric SDK $serviceFabricSDKVersion "
255+ }
256+
252257function Get-NewmanVersion {
253258 return " Newman $ ( newman -- version) "
254259}
Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ Describe "ServiceFabricSDK" -Skip:(Test-IsWin22) {
134134 It " PowerShell Module" {
135135 Get-Module - Name ServiceFabric - ListAvailable | Should -Not - BeNullOrEmpty
136136 }
137+
138+ It " ServiceFabricSDK version" {
139+ Get-ItemPropertyValue ' HKLM:\SOFTWARE\Microsoft\Service Fabric\' - Name FabricVersion | Should -Not - BeNullOrEmpty
140+ }
137141}
138142
139143Describe " Stack" {
You can’t perform that action at this time.
0 commit comments