Skip to content

Commit

Permalink
lib: issuing deprecation warning for freelist
Browse files Browse the repository at this point in the history
As per the dicussion in nodejs#569,
this patch issues a deprecation warning when freelist modeule is
required.
  • Loading branch information
thefourtheye committed Jul 14, 2015
1 parent 65963ec commit ab30e0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/freelist.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
'use strict';

const util = require('internal/util');

module.exports = require('internal/freelist');
util.printDeprecationMessage('freelist module is deprecated.');

0 comments on commit ab30e0b

Please sign in to comment.