Fix Skylark analyzer warning. (#81)
This commit is contained in:
parent
d9cd300c64
commit
f4a2bae427
|
@ -51,6 +51,9 @@ def _depset_to_list(val):
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
val: The value to be optionally converted and returned.
|
val: The value to be optionally converted and returned.
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
The converted value.
|
||||||
"""
|
"""
|
||||||
if type(val) == _depset_type:
|
if type(val) == _depset_type:
|
||||||
return val.to_list()
|
return val.to_list()
|
||||||
|
|
Loading…
Reference in New Issue