Skip to content

Commit 0b6e16f

Browse files
committed
Address linter gripe
1 parent dac01b4 commit 0b6e16f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

lib/internal/modules/esm/initialize_import_meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const { StringPrototypeStartsWith } = primordials;
44
const { getOptionValue } = require('internal/options');
5-
const { fileURLToPath } = require('url');
5+
const { fileURLToPath } = require('internal/url');
66
const { dirname } = require('path');
77
const experimentalImportMetaResolve = getOptionValue('--experimental-import-meta-resolve');
88

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include <node_api.h>
2+
3+
EXTERN_C_START
4+
napi_value Init(napi_env env, napi_value exports);
5+
EXTERN_C_END
6+
7+
NAPI_MODULE(NODE_GYP_MODULE_NAME, Init)

0 commit comments

Comments
 (0)