Skip to content

Commit 348ea85

Browse files
PaulThompsonghosind
authored andcommitted
Fix logic typo - dvm_extract_file should expect to succeed, not fail.
https://github.com/ghosind/dvm/blob/bb103932e3378fb4be8f6b0015b9e5cd2feef587/dvm.sh#L1056 That line should be `dvm_extract_file "$version"` and not inverted with `!` Previously the `! dvm_extract_file "$version"` was using `!` because it's in an if guard for an early return. https://github.com/ghosind/dvm/blob/ea31eac8ba65f101f8062c2838ee903df9b07031/dvm.sh#L1010
1 parent 7f14a60 commit 348ea85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ export DVM_VERSION="v0.8.1"
11781178
dvm_print "Installing deno $version from cache..."
11791179
fi
11801180

1181-
! dvm_extract_file "$version"
1181+
dvm_extract_file "$version"
11821182
}
11831183

11841184
# Download the source code of Deno from the network, and try to building the

0 commit comments

Comments
 (0)