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 e3b953b commit 6bc6878Copy full SHA for 6bc6878
packages/contracts/src/custom-network-signatures.ts
@@ -60,7 +60,7 @@ function getCurrentModulePath(): string | undefined {
60
const moduleUrl = (import.meta as unknown as { url?: string } | undefined)
61
?.url;
62
63
- if (moduleUrl) {
+ if (typeof moduleUrl === 'string') {
64
try {
65
return fileURLToPath(moduleUrl);
66
} catch (error) {
0 commit comments