We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efbdea5 commit dd02aacCopy full SHA for dd02aac
test/tools/Modules/WebListener/WebListener.psm1
@@ -141,7 +141,16 @@ function Get-WebListenerUrl {
141
$Uri.Port = $runningListener.HttpsPort
142
$Uri.Scheme = 'Https'
143
}
144
- $Uri.Path = '{0}/{1}' -f $Test, $TestValue
+
145
+ if ($TestValue)
146
+ {
147
+ $Uri.Path = '{0}/{1}' -f $Test, $TestValue
148
+ }
149
+ else
150
151
+ $Uri.Path = $Test
152
153
154
return [Uri]$Uri.ToString()
155
156
0 commit comments