Make linter happy

This commit is contained in:
Ryan Cavanaugh
2015-12-29 13:16:00 -08:00
parent e12855bca0
commit 3288f5bb6d

View File

@@ -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;