Skip to content

Commit d1a7640

Browse files
committed
Lint fixes
1 parent 32b8d54 commit d1a7640

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

doc/api/modules.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,10 +1290,8 @@ This section was moved to
12901290
[Determining module system]: packages.md#determining-module-system
12911291
[ECMAScript Modules]: esm.md
12921292
[GLOBAL_FOLDERS]: #loading-from-the-global-folders
1293-
[Package maps]: packages.md#package-maps
12941293
[`"main"`]: packages.md#main
12951294
[`"type"`]: packages.md#type
1296-
[`--experimental-package-map`]: cli.md#--experimental-package-mappath
12971295
[`--trace-require-module`]: cli.md#--trace-require-modulemode
12981296
[`ERR_REQUIRE_ASYNC_MODULE`]: errors.md#err_require_async_module
12991297
[`ERR_UNSUPPORTED_DIR_IMPORT`]: errors.md#err_unsupported_dir_import

test/es-module/test-esm-package-map.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const packageMapPath = fixtures.path('package-map/package-map.json');
1515
const fileUrlFixturePath = tmpdir.resolve('package-map-file-url.json');
1616
writeFileSync(fileUrlFixturePath, JSON.stringify({
1717
packages: {
18-
root: {
18+
'root': {
1919
path: pathToFileURL(fixtures.path('package-map/root')).href,
2020
dependencies: { 'dep-a': 'dep-a' },
2121
},

test/parallel/test-require-package-map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const packageMapPath = fixtures.path('package-map/package-map.json');
1717
const fileUrlFixturePath = tmpdir.resolve('package-map-file-url.json');
1818
writeFileSync(fileUrlFixturePath, JSON.stringify({
1919
packages: {
20-
root: {
20+
'root': {
2121
path: pathToFileURL(fixtures.path('package-map/root')).href,
2222
dependencies: { 'dep-a': 'dep-a' },
2323
},

0 commit comments

Comments
 (0)