Skip to content

Commit ef2bf4b

Browse files
scalvertrwjblue
andauthored
Update src/installer.ts
Co-authored-by: Robert Jackson <[email protected]>
1 parent 61c11ab commit ef2bf4b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/installer.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ export async function buildDownloadUrl(
5353

5454
if (variant) {
5555
fileName = `volta-${version}-${variant}.tar.gz`;
56-
}
57-
58-
if (!fileName) {
56+
} else {
5957
switch (platform) {
6058
case 'darwin':
6159
fileName = `volta-${version}-macos.tar.gz`;

0 commit comments

Comments
 (0)