[bun error] fix typo in markdown.ts (#995)

happend -> happened
This commit is contained in:
Ikko Ashimine
2022-08-13 11:22:32 +09:00
committed by GitHub
parent 5f68c562f9
commit 65ca0503a7

View File

@@ -128,7 +128,7 @@ function exceptionToMarkdown(exception: JSException): string {
prefix +=
"/* ".padEnd(column - 1 - prefix.length, " ") +
"^ happend here ";
"^ happened here ";
markdown +=
prefix.padEnd(Math.max(lineText.length, 1) - 1, " ") + "*/\n";
}