Skip to content

Commit 6f79450

Browse files
haramjtargos
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 3273143 commit 6f79450

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
@@ -182,7 +182,7 @@ function deprecate(fn, msg, code, useEmitSync, modifyPrototype = true) {
182182
);
183183

184184
function deprecated(...args) {
185-
if (!getOptionValue('--no-deprecation') && !process.noDeprecation) {
185+
if (!process.noDeprecation) {
186186
emitDeprecationWarning();
187187
}
188188
if (new.target) {

0 commit comments

Comments
 (0)