We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd8b5c6 commit 6b24efcCopy full SHA for 6b24efc
packages/cli/scripts/install.ps1
@@ -5,7 +5,7 @@
5
6
$ErrorActionPreference = 'Stop'
7
8
-$Version = if ($v) {
+$Version = if (Test-Path Variable:v) {
9
$v
10
}
11
elseif ($args.Length -eq 1) {
0 commit comments