Skip to content

Commit

Permalink
const => var
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen authored Nov 23, 2017
1 parent 561db46 commit e4a077b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/junit_reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
return str.replace(/[\x1b]/g, "");
}
function escapeInvalidXmlChars(str) {
const escaped = str.replace(/\&/g, "&")
var escaped = str.replace(/\&/g, "&")
.replace(/</g, "&lt;")
.replace(/\>/g, "&gt;")
.replace(/\"/g, "&quot;")
Expand Down

0 comments on commit e4a077b

Please sign in to comment.