Skip to content

Commit 415503b

Browse files
authored
Merge pull request #18 from seawerst/master
Adding VS Code as supported host
2 parents 49b6fd4 + c5b0541 commit 415503b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function Test-HostSupported() {
2-
$Whitelist = @("ConsoleHost")
2+
$Whitelist = @("ConsoleHost","Visual Studio Code Host")
33

44
if ($Whitelist -inotcontains $Host.Name) {
55
Throw "This host is $($Host.Name) and does not support an interactive menu."
66
}
7-
}
7+
}

0 commit comments

Comments
 (0)