We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 49b6fd4 + c5b0541 commit 415503bCopy full SHA for 415503b
1 file changed
PSMenu/Private/Test-HostSupported.ps1
@@ -1,7 +1,7 @@
1
function Test-HostSupported() {
2
- $Whitelist = @("ConsoleHost")
+ $Whitelist = @("ConsoleHost","Visual Studio Code Host")
3
4
if ($Whitelist -inotcontains $Host.Name) {
5
Throw "This host is $($Host.Name) and does not support an interactive menu."
6
}
7
-}
+}
0 commit comments