Skip to content

Commit 2e603cb

Browse files
committed
fix: correctly surround $nodejs variable
1 parent 0e08885 commit 2e603cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/choco-install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ choco source add --name="cache" --source="${PSScriptRoot}\..\tmp\chocolatey" --p
2323

2424
# Install nodejs v20.5.1 (will use cache if exists)
2525
$nodejs = "nodejs"
26-
choco install '$nodejs' --version='20.5.1' --require-checksums -y --no-progress
26+
choco install "$nodejs" --version='20.5.1' --require-checksums -y --no-progress
2727
# Internalise nodejs to cache if doesn't exist
2828
if ( -not (Test-Path -Path "${PSScriptRoot}\..\tmp\chocolatey\$nodejs\$nodejs.20.5.1.nupkg" -PathType Leaf) ) {
2929
Save-ChocoPackage -PackageName $nodejs

0 commit comments

Comments
 (0)