teddit/node_modules/redis-errors/index.js
2020-11-17 21:44:32 +01:00

8 lines
197 B
JavaScript

'use strict'
const Errors = process.version.charCodeAt(1) < 55 && process.version.charCodeAt(2) === 46
? require('./lib/old') // Node.js < 7
: require('./lib/modern')
module.exports = Errors