Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeheat authored Dec 4, 2024
1 parent d0bfb25 commit 6d4b1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/js/deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async function $require (name, version, relativeTo) {
[name, ...path] = name.split('/') // for requiring files using from packages
// A version was specified, or the package wasn't found already installed.
const newpath = pm.install(name, version)
const mod = await import([newpath,...path].join('/'))
const mod = await import([newpath, ...path].join('/'))
return mod.default ?? mod
}

Expand Down

0 comments on commit 6d4b1d6

Please sign in to comment.