Skip to content

Commit 6b06a1a

Browse files
authored
Merge pull request #16 from cseas/patch-1
fix: typo in Unexpected Syntax description
2 parents 30a8698 + 7c29cd1 commit 6b06a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/problems.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function getMessages(kind: ProblemKind, analysis: TypedAnalysis, problems: Probl
372372
const [syntax, moduleKind] =
373373
kind === "UnexpectedCJSSyntax" ? (["CJS", "ESM"] as const) : (["ESM", "CJS"] as const);
374374
return (
375-
`The implemtation resolved at ${entrypoints} uses ${syntax} syntax, but the detected module kind is ${moduleKind}. ` +
375+
`The implementation resolved at ${entrypoints} uses ${syntax} syntax, but the detected module kind is ${moduleKind}. ` +
376376
`This will be an error in Node (and potentially other runtimes and bundlers).` +
377377
(reason === "extension"
378378
? ` The module kind was decided based on the resolved file’s ${

0 commit comments

Comments
 (0)