Skip to content

Commit ab30e0b

Browse files
committed
lib: issuing deprecation warning for freelist
As per the dicussion in nodejs#569, this patch issues a deprecation warning when freelist modeule is required.
1 parent 65963ec commit ab30e0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/freelist.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
'use strict';
22

3+
const util = require('internal/util');
4+
35
module.exports = require('internal/freelist');
6+
util.printDeprecationMessage('freelist module is deprecated.');

0 commit comments

Comments
 (0)