Skip to content

Commit 91e9b8d

Browse files
haramjrichardlau
authored andcommitted
util: remove outdated TODO comment
PR-URL: #59760 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 421ab3c commit 91e9b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function deprecate(fn, msg, code, useEmitSync, modifyPrototype = true) {
171171
);
172172

173173
function deprecated(...args) {
174-
if (!getOptionValue('--no-deprecation') && !process.noDeprecation) {
174+
if (!process.noDeprecation) {
175175
emitDeprecationWarning();
176176
}
177177
if (new.target) {

0 commit comments

Comments
 (0)