(str)
| 299 | } |
| 300 | |
| 301 | function templateEscape(str) { |
| 302 | let result = String(str); |
| 303 | result = StringPrototypeReplaceAll(result, '\\', '\\\\'); |
| 304 | result = StringPrototypeReplaceAll(result, '`', '\\`'); |
| 305 | result = StringPrototypeReplaceAll(result, '${', '\\${'); |
| 306 | return result; |
| 307 | } |
| 308 | |
| 309 | module.exports = { |
| 310 | SnapshotManager, |