From 000ad187925f135066c6765e578b41270e207de1 Mon Sep 17 00:00:00 2001 From: jrandolf <101637635+jrandolf@users.noreply.github.com> Date: Wed, 11 Jan 2023 14:04:52 +0100 Subject: [PATCH] chore: do not slice error in IA (#9487) --- tools/analyze_issue.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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')