Skip to content

Commit

Permalink
chore: update denoland/setup-deno (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed May 30, 2023
1 parent 5fc93d4 commit 0f13329
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v3

- name: ➡️ install Deno
uses: denoland/setup-deno@v1.0.0
uses: denoland/setup-deno@v1
with:
deno-version: 1.x

Expand Down
4 changes: 2 additions & 2 deletions util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ export function parseURL(url: string): ParsedURL | undefined {
if (match) {
let { pathname: { groups: { regver, org, pkg, ver, mod } } } = match;
if (registry === "gist.github.com") {
pkg = pkg.substring(0, 7);
ver = ver.substring(0, 7);
pkg = pkg?.substring(0, 7);
ver = ver?.substring(0, 7);
}
return {
registry: regver ? `${registry} @ ${regver}` : registry,
Expand Down

0 comments on commit 0f13329

Please sign in to comment.