1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

Specify correct required PS version (6+ due to Join-Path syntax)

This commit is contained in:
Mike Gelfand 2020-10-13 17:46:13 +03:00
parent f59118d1fe
commit 9bc05f3989

View file

@ -19,7 +19,7 @@ Param(
[string] $ScriptBaseUrl [string] $ScriptBaseUrl
) )
Set-StrictMode -Version '3.0' Set-StrictMode -Version '6.0'
$ErrorActionPreference = 'Stop' $ErrorActionPreference = 'Stop'
$PSDefaultParameterValues['*:ErrorAction'] = $ErrorActionPreference $PSDefaultParameterValues['*:ErrorAction'] = $ErrorActionPreference