mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
remove execution policy check
This commit is contained in:
parent
f0de6c4e92
commit
ee311b8e5c
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue