chore: do not slice error in IA (#9487)
This commit is contained in:
parent
3fde00525e
commit
000ad18792
@ -250,10 +250,7 @@ This issue has an invalid Puppeteer version: \`${value}\`. Versions must follow
|
|||||||
await mkdir('out');
|
await mkdir('out');
|
||||||
Promise.all([
|
Promise.all([
|
||||||
writeFile(join('out', 'main.ts'), mvce.split('\n').slice(1, -1).join('\n')),
|
writeFile(join('out', 'main.ts'), mvce.split('\n').slice(1, -1).join('\n')),
|
||||||
writeFile(
|
writeFile(join('out', 'puppeteer-error.txt'), error),
|
||||||
join('out', 'puppeteer-error.txt'),
|
|
||||||
error.split('\n').slice(1, -1).join('\n')
|
|
||||||
),
|
|
||||||
writeFile(
|
writeFile(
|
||||||
join('out', 'puppeteer.config.js'),
|
join('out', 'puppeteer.config.js'),
|
||||||
configuration.split('\n').slice(1, -1).join('\n')
|
configuration.split('\n').slice(1, -1).join('\n')
|
||||||
|
Loading…
Reference in New Issue
Block a user