Skip to content

Commit 83052ff

Browse files
dario-piotrowicznodejs-github-bot
authored andcommitted
lib: add node: prefix in sys module deprecation warning
PR-URL: #58442 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent d5abfbf commit 83052ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sys.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
// Note to maintainers: Although this module has been deprecated for a while
2828
// we do not plan to remove it. See: https://github.com/nodejs/node/pull/35407#issuecomment-700693439
2929
module.exports = require('util');
30-
process.emitWarning('sys is deprecated. Use util instead.',
30+
process.emitWarning('sys is deprecated. Use `node:util` instead.',
3131
'DeprecationWarning', 'DEP0025');

0 commit comments

Comments
 (0)