Skip to content

Commit

Permalink
Skip validation if install by version prefix.
Browse files Browse the repository at this point in the history
Signed-off-by: ghosind <[email protected]>
  • Loading branch information
ghosind committed Aug 19, 2024
1 parent 3899bfa commit 7c0f7f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ export DVM_VERSION="v0.8.3"
version_prefix="$search_text"

dvm_debug "searching version starts with $version_prefix"

if [[ "$version_prefix" == *"." ]]
then
version_prefix="${version_prefix%%.}"
Expand All @@ -1118,6 +1118,7 @@ export DVM_VERSION="v0.8.3"

dvm_debug "matched version found $tmp_versions"
DVM_TARGET_VERSION="$tmp_versions"
DVM_INSTALL_SKIP_VALIDATION=true
}

# Install Deno with the specific version, it'll try to get version from the
Expand Down

0 comments on commit 7c0f7f9

Please sign in to comment.