mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
JSHint.
This commit is contained in:
parent
12eaf5182f
commit
a0e0d2228a
14 changed files with 31 additions and 31 deletions
|
@ -562,7 +562,8 @@ module.exports = syrup.serial()
|
|||
var response = apk.wire.GetRingerModeResponse.decode(data)
|
||||
// Reflection to decode enums to their string values, otherwise
|
||||
// we only get an integer
|
||||
var ringerMode = apk.builder.lookup('jp.co.cyberagent.stf.proto.RingerMode')
|
||||
var ringerMode = apk.builder.lookup(
|
||||
'jp.co.cyberagent.stf.proto.RingerMode')
|
||||
.children[response.mode].name
|
||||
if (response.success) {
|
||||
return ringerMode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue