Skip to content

Commit 1bd122d

Browse files
committed
fmt
1 parent dc63d3c commit 1bd122d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/contracts/src/custom-network-signatures.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,17 @@ export interface BuildSignaturesFromContextResult {
5757
* Falls back to __filename when bundlers strip import.meta.url.
5858
*/
5959
function getCurrentModulePath(): string | undefined {
60-
const moduleUrl = (
61-
import.meta as unknown as { url?: string } | undefined
62-
)?.url;
60+
const moduleUrl = (import.meta as unknown as { url?: string } | undefined)
61+
?.url;
6362

6463
if (moduleUrl) {
6564
try {
6665
return fileURLToPath(moduleUrl);
6766
} catch (error) {
68-
console.warn('Failed to resolve fileURLToPath from import.meta.url:', error);
67+
console.warn(
68+
'Failed to resolve fileURLToPath from import.meta.url:',
69+
error
70+
);
6971
}
7072
}
7173

0 commit comments

Comments
 (0)