diff --git a/tools/analyze_issue.mjs b/tools/analyze_issue.mjs index 4a534568e2d..520a8917700 100755 --- a/tools/analyze_issue.mjs +++ b/tools/analyze_issue.mjs @@ -250,10 +250,7 @@ This issue has an invalid Puppeteer version: \`${value}\`. Versions must follow await mkdir('out'); Promise.all([ writeFile(join('out', 'main.ts'), mvce.split('\n').slice(1, -1).join('\n')), - writeFile( - join('out', 'puppeteer-error.txt'), - error.split('\n').slice(1, -1).join('\n') - ), + writeFile(join('out', 'puppeteer-error.txt'), error), writeFile( join('out', 'puppeteer.config.js'), configuration.split('\n').slice(1, -1).join('\n')