We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d8e85 commit 6696db2Copy full SHA for 6696db2
src/ui/registry/registry.ts
@@ -10,6 +10,7 @@ function getCurrentDir(): string {
10
if (typeof __dirname !== "undefined") {
11
return __dirname;
12
}
13
+ // @ts-ignore - import.meta is only available in ESM, but this code path is only executed in ESM
14
return dirname(fileURLToPath(import.meta.url));
15
16
0 commit comments