mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-25 20:53:36 +00:00
fix: Escape backticks in stdout and stderr
This commit is contained in:
parent
a75f1a3cce
commit
679784b708
3 changed files with 13 additions and 2 deletions
|
|
@ -34,7 +34,8 @@ class OutputListener {
|
|||
get contents () {
|
||||
return this._buff
|
||||
.map(chunk => chunk.toString())
|
||||
.join('');
|
||||
.join('')
|
||||
.replace(/`/g, '\\`');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue