Skip to content

Commit

Permalink
get powershell path in a better way (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt authored Apr 16, 2020
1 parent 3589a0f commit 4ae1ea8
Show file tree
Hide file tree
Showing 6 changed files with 715 additions and 407 deletions.
2 changes: 1 addition & 1 deletion downloadPSES.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ param(
)
if (!$IsCoreCLR) {
# We only need to do this in Windows PowerShell.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
}

# Fail on anything
Expand Down
2 changes: 1 addition & 1 deletion downloadSnippets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Write-Host Starting download of Snippets from vscode-powershell
if (!$IsCoreCLR) {
# We only need to do this in Windows PowerShell.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
}

# Fail on anything
Expand Down
Loading

0 comments on commit 4ae1ea8

Please sign in to comment.