feedbavck
diff --git a/emsdk.ps1 b/emsdk.ps1 index 31201d2..835b1df 100644 --- a/emsdk.ps1 +++ b/emsdk.ps1
@@ -1,4 +1,4 @@ -Set-StrictMode -Version latest +Set-StrictMode -Version 3.0 $ScriptDirectory = Split-Path -parent $PSCommandPath
diff --git a/emsdk_env.ps1 b/emsdk_env.ps1 index 3dc92f8..73fde17 100644 --- a/emsdk_env.ps1 +++ b/emsdk_env.ps1
@@ -1,4 +1,4 @@ -Set-StrictMode -Version latest +Set-StrictMode -Version 3.0 $ScriptDirectory = Split-Path -parent $PSCommandPath & "$ScriptDirectory/emsdk.ps1" construct_env
diff --git a/test/test_activation.ps1 b/test/test_activation.ps1 index 7ecbd59..351912a 100644 --- a/test/test_activation.ps1 +++ b/test/test_activation.ps1
@@ -2,7 +2,7 @@ # and checks if the environment variables and PATH are correctly updated. Set $env:SYSTEM_FLAG and $env:PERMANENT_FLAG to test each. # If no flag is provided the process/shell values are tested. See the CI file for an example. -Set-StrictMode -Version latest +Set-StrictMode -Version 3.0 refreshenv
diff --git a/test/test_bazel.ps1 b/test/test_bazel.ps1 index 6688067..ab9439c 100644 --- a/test/test_bazel.ps1 +++ b/test/test_bazel.ps1
@@ -1,5 +1,5 @@ $ErrorActionPreference = 'Stop' -Set-StrictMode -Version latest +Set-StrictMode -Version 3.0 Set-Location bazel
diff --git a/test/test_path_preservation.ps1 b/test/test_path_preservation.ps1 index 5e4619a..b13f08f 100644 --- a/test/test_path_preservation.ps1 +++ b/test/test_path_preservation.ps1
@@ -2,7 +2,7 @@ # and checks if parts of PATH are lost or overwritten. Set $env:SYSTEM_FLAG and $env:PERMANENT_FLAG to test each. # If no flag is provided the process/shell values are tested. See the CI file for an example. -Set-StrictMode -Version latest +Set-StrictMode -Version 3.0 refreshenv