We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c57520c commit a299ec4Copy full SHA for a299ec4
1 file changed
tests/run-tests.ps1
@@ -1,4 +1,8 @@
1
# tests/run-tests.ps1
2
+if ($PSVersionTable.PSVersion.Major -lt 7) {
3
+ Write-Error "Tests require PowerShell 7+."
4
+ exit 1
5
+}
6
if ($IsWindows) {
7
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
8
}
0 commit comments