mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:43:45 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = function GroupServiceFactory(
|
||||
var groupService = {
|
||||
}
|
||||
|
||||
groupService.invite = function (device) {
|
||||
groupService.invite = function(device) {
|
||||
if (!device.usable) {
|
||||
return Promise.reject(new Error('Device is not usable'))
|
||||
}
|
||||
@@ -31,7 +31,7 @@ module.exports = function GroupServiceFactory(
|
||||
})
|
||||
}
|
||||
|
||||
groupService.kick = function (device, force) {
|
||||
groupService.kick = function(device, force) {
|
||||
if (!force && !device.usable) {
|
||||
return Promise.reject(new Error('Device is not usable'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user