teddit/node_modules/redis-errors/index.js

8 lines
197 B
JavaScript
Raw Normal View History

2020-11-17 21:44:32 +01:00
'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