mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports.socket = function() {
|
||||
;['ZMQ_TCP_KEEPALIVE', 'ZMQ_TCP_KEEPALIVE_IDLE'].forEach(function(opt) {
|
||||
if (process.env[opt]) {
|
||||
try {
|
||||
sock.setsockopt(zmq[opt], +process.env[opt])
|
||||
sock.setsockopt(zmq[opt], Number(process.env[opt]))
|
||||
}
|
||||
catch (err) {
|
||||
log.warn('ZeroMQ library too old, no support for %s', opt)
|
||||
|
||||
Reference in New Issue
Block a user