Permalink
Browse files

process: fix coverage generation

e8a26e7 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: #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>
  • Loading branch information...
evanlucas authored and addaleax committed Dec 13, 2017
1 parent 6c1a04b commit 9f61c7038557de30d1d3618aa94d356c6a64b6cc
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/internal/process/write-coverage.js
@@ -1,5 +1,4 @@
'use strict';
const process = require('process');
const path = require('path');
const { mkdirSync, writeFileSync } = require('fs');

0 comments on commit 9f61c70

Please sign in to comment.