Skip to content

Commit

Permalink
fix(registries/deno.re): parse import of std lib correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Apr 4, 2024
1 parent f2fe05c commit 190e250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registries/deno.re.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const deno_re = new Registry({

const arr = pathname.split('/')

if (arr[1] === 'std') {
if (arr[1].split('@')[0] === 'std') {
return {
moduleName: 'denoland/deno_std',
version: arr[1].split('@')[1],
Expand Down

0 comments on commit 190e250

Please sign in to comment.