Skip to content

Commit

Permalink
net: change the value of enumerable to true from false
Browse files Browse the repository at this point in the history
   src: fix typo in node/lib/internal/bootstrap/pre_execution.js

   Fixes: nodejs#41774
   refs: https://nodejs.org/api/process.html#processreport
  • Loading branch information
dollar22 committed Jan 31, 2022
1 parent 96e81df commit 4915e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/bootstrap/pre_execution.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function setupStacktracePrinterOnSigint() {
function initializeReport() {
const { report } = require('internal/process/report');
ObjectDefineProperty(process, 'report', {
enumerable: false,
enumerable: true,
configurable: true,
get() {
return report;
Expand Down

0 comments on commit 4915e43

Please sign in to comment.