Skip to content

Commit 95e9c1a

Browse files
lib: add node: prefix in sys module deprecation warning
1 parent 9ce691f commit 95e9c1a

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)