mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-24 11:43:18 -05:00
Make linter happy
This commit is contained in:
@@ -7221,9 +7221,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
|
||||
// Replace entities like
|
||||
result = result.replace(/&(\w+);/g, function(s: any, m: string) {
|
||||
if (entities[m] !== undefined) {
|
||||
let ch = String.fromCharCode(entities[m]);
|
||||
const ch = String.fromCharCode(entities[m]);
|
||||
// " needs to be escaped
|
||||
return ch === '"' ? '\\"' : ch;
|
||||
return ch === "\"" ? "\\\"" : ch;
|
||||
}
|
||||
else {
|
||||
return s;
|
||||
|
||||
Reference in New Issue
Block a user