mirror of
https://github.com/gosticks/brew.git
synced 2026-08-12 12:40:22 +00:00
Fix Desc cop for casks.
This commit is contained in:
@@ -19,6 +19,9 @@ module RuboCop
|
||||
return
|
||||
end
|
||||
|
||||
@offensive_node = desc_call
|
||||
@offense_source_range = desc_call.source_range
|
||||
|
||||
desc = desc_call.first_argument
|
||||
|
||||
# Check if the desc is empty.
|
||||
|
||||
Reference in New Issue
Block a user