Merge pull request #11628 from eltociear/patch-3

Fix typo in package-source.js
This commit is contained in:
Jan Dvorak
2021-09-11 00:07:21 +09:00
committed by GitHub

View File

@@ -209,7 +209,7 @@ var getExcerptFromReadme = function (text) {
}
var excerpt = textLines.slice(start, stop).join("\n");
// Strip the preceeding and trailing new lines.
// Strip the preceding and trailing new lines.
return excerpt.replace(/^\n+|\n+$/g, "");
};