1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-10 00:26:07 +02:00

remove execution policy check

This commit is contained in:
George Doenlen 2019-10-22 22:26:33 -04:00
parent f0de6c4e92
commit ee311b8e5c

View File

@ -3,13 +3,6 @@
#Requires -Version 5
param($path = "$pwd/rustlings")
if((Get-ExecutionPolicy) -gt 'RemoteSigned' -or (Get-ExecutionPolicy) -eq 'ByPass') {
Write-Output "PowerShell requires an execution policy of 'RemoteSigned' to run this script."
Write-Output "To make this change please run:"
Write-Output "'Set-ExecutionPolicy RemoteSigned -scope CurrentUser'"
exit 1
}
Write-Host "Let's get you set up with Rustlings!"
Write-Host "Checking requirements..."