There was an error while loading. Please reload this page.
1 parent 8f4bd2d commit 29cbe85Copy full SHA for 29cbe85
cli/common/runtime.js
@@ -42,10 +42,7 @@ async function resolvePackageInDeno(pkgName) {
42
}
43
44
async function resolvePackageRoot(pkgName) {
45
- const specifier =
46
- typeof globalThis.Deno !== "undefined"
47
- ? `npm:${pkgName}/package.json`
48
- : `${pkgName}/package.json`;
+ const specifier = `${pkgName}/package.json`;
49
50
if (typeof import.meta.resolve === "function") {
51
const url = import.meta.resolve(specifier);
0 commit comments