mirror of
https://gitea.com/actions/setup-deno.git
synced 2026-03-26 22:58:19 +00:00
fix: update README and tests (#85)
(cherry picked from commit 4b0db74aa8)
This commit is contained in:
@@ -23,7 +23,7 @@ const GIT_HASH_RE = /^[0-9a-fA-F]{40}$/;
|
||||
* @returns {VersionRange | null}
|
||||
*/
|
||||
export function parseVersionRange(version) {
|
||||
version = String(version) || "1.x";
|
||||
version = String(version) || "2.x";
|
||||
version = version.trim();
|
||||
|
||||
if (version === "canary") {
|
||||
|
||||
Reference in New Issue
Block a user