mirror of
https://gitea.com/actions/setup-deno.git
synced 2026-08-23 17:13:07 +01:00
fix: update README and tests (#85)
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