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

const 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

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

setExports();