setup-node/node_modules/inherits/inherits.js
Danny McCormick c3f0a8be66 Use husky
2019-06-05 11:34:47 -04:00

8 lines
192 B
JavaScript

try {
var util = require('util');
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
module.exports = require('./inherits_browser.js');
}