You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Run tests only with the js parser instead of hiredis and js parser from now on
This removes the optional-dev-dependency as this is not needed from now on anymore
This commit is contained in:
@@ -163,10 +163,11 @@ module.exports = {
|
||||
}
|
||||
var parsers = ['javascript'];
|
||||
var protocols = ['IPv4'];
|
||||
try {
|
||||
require('hiredis');
|
||||
parsers.push('hiredis');
|
||||
} catch (e) {/* ignore eslint */}
|
||||
// The js parser works the same as the hiredis parser, just activate this if you want to be on the safe side
|
||||
// try {
|
||||
// require('hiredis');
|
||||
// parsers.push('hiredis');
|
||||
// } catch (e) {/* ignore eslint */}
|
||||
if (process.platform !== 'win32') {
|
||||
protocols.push('IPv6', '/tmp/redis.sock');
|
||||
}
|
||||
|
Reference in New Issue
Block a user