Skip to content

Commit a303e16

Browse files
committed
Fix Powershell condition.
1 parent 30ee8fe commit a303e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async function main() {
2121
Invoke-RestMethod -Uri '${urlBase}.zip' -OutFile elvish.zip
2222
Expand-Archive elvish.zip -DestinationPath .
2323
rm elvish.zip
24-
if (!Test-Path elvish.exe -PathType leaf) {
24+
if (!(Test-Path elvish.exe -PathType leaf)) {
2525
Rename-Item -Path elvish-${version}.exe -NewName elvish.exe
2626
}
2727
`);

0 commit comments

Comments
 (0)