Skip to content

Commit

Permalink
doc: change wording in doc/api/domain.md comment
Browse files Browse the repository at this point in the history
Change the wording to make the language more Inclusive.

PR-URL: #38044
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
marsonya authored and Trott committed Apr 5, 2021
1 parent 17a527e commit 2861778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const d = require('domain').create();
d.on('error', (er) => {
// The error won't crash the process, but what it does is worse!
// Though we've prevented abrupt process restarting, we are leaking
// resources like crazy if this ever happens.
// a lot of resources if this ever happens.
// This is no better than process.on('uncaughtException')!
console.log(`error, but oh well ${er.message}`);
});
Expand Down

0 comments on commit 2861778

Please sign in to comment.