summaryrefslogtreecommitdiff
path: root/lib/sys.js
blob: 57fe1bcfb55dbaa4e9bfc8fde01bbdfe7136456a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

var util = require('util');

// the sys module was renamed to 'util'.
// this shim remains to keep old programs working.
// sys is deprecated and shouldn't be used

var setExports = util.deprecate(function() {
  module.exports = util;
}, 'sys is deprecated. Use util instead.');

setExports();