process: fix coverage generation
e8a26e783e2e33514d44d8b2725d5f048e1314ce added `process` to the internal module wrapper. This broke the utility used to write coverage information due to a SyntaxError that `process` had already been declared. PR-URL: https://github.com/nodejs/node/pull/17651 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
parent
6c1a04b381
commit
9f61c70385
@ -1,5 +1,4 @@
|
||||
'use strict';
|
||||
const process = require('process');
|
||||
const path = require('path');
|
||||
const { mkdirSync, writeFileSync } = require('fs');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user