fix: Escape backticks in stdout and stderr

This commit is contained in:
Manabu Sakai 2024-03-10 13:30:00 +09:00
parent a75f1a3cce
commit 679784b708
3 changed files with 13 additions and 2 deletions

3
dist/index1.js vendored
View file

@ -27398,7 +27398,8 @@ class OutputListener {
get contents () {
return this._buff
.map(chunk => chunk.toString())
.join('');
.join('')
.replace(/`/g, '\\`');
}
}