mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:13:31 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = syrup.serial()
|
||||
if (/closed/.test(err.message) && times > 1) {
|
||||
return Promise.delay(delay)
|
||||
.then(function() {
|
||||
return tryConnect(--times, delay * 2)
|
||||
return tryConnect(times - 1, delay * 2)
|
||||
})
|
||||
}
|
||||
return Promise.reject(err)
|
||||
|
||||
Reference in New Issue
Block a user