Skip to content

Commit f16b38e

Browse files
committed
esm: fix import assertion warning
Refs: nodejs#46901 (comment)
1 parent ab89428 commit f16b38e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/modules/esm/assert.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ function validateAssertions(url, format,
6161
if (!alreadyWarned && ObjectKeys(importAssertions).length !== 0) {
6262
alreadyWarned = true;
6363
process.emitWarning(
64-
'Import assertions are not a stable feature of the JavaScript language, ' +
65-
'avoid relying on their current behavior and syntax as those might change ' +
64+
'Import assertions are not a stable feature of the JavaScript language. ' +
65+
'Avoid relying on their current behavior and syntax as those might change ' +
6666
'in a future version of Node.js.',
6767
'ExperimentalWarning',
6868
);

0 commit comments

Comments
 (0)