Skip to content

Commit

Permalink
Fix code scanning alert no. 34: Incomplete string escaping or encoding (
Browse files Browse the repository at this point in the history
#2004)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
mathiasrw and github-advanced-security[bot] authored Dec 29, 2024
1 parent 523a231 commit 1296bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test374.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ SELECT FLOOR(@val) -- 0
tests = (/\/\*([\S\s]+)\*\//m.exec(tests) || ['', ''])[1];

tests
.replace('\r', '')
.replace(/\r/g, '')
.trim()
.split('\n')
.forEach(function (test) {
Expand Down

0 comments on commit 1296bdc

Please sign in to comment.