Fix Desc cop for casks.
This commit is contained in:
parent
3e5ff1ff90
commit
9ed16681f3
@ -19,6 +19,9 @@ module RuboCop
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@offensive_node = desc_call
|
||||||
|
@offense_source_range = desc_call.source_range
|
||||||
|
|
||||||
desc = desc_call.first_argument
|
desc = desc_call.first_argument
|
||||||
|
|
||||||
# Check if the desc is empty.
|
# Check if the desc is empty.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user