mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 11:53:23 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -8,9 +8,9 @@ module.exports = syrup.serial()
|
||||
return data && data.flags && !!data.flags[flag]
|
||||
}
|
||||
, get: function(flag, defaultValue) {
|
||||
return data && data.flags && data.flags[flag] !== void 0
|
||||
? data.flags[flag]
|
||||
: defaultValue
|
||||
return data && data.flags && typeof data.flags[flag] !== 'undefined' ?
|
||||
data.flags[flag] :
|
||||
defaultValue
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user