use squre bracket
This commit is contained in:
parent
451b684d84
commit
32bfa48ad0
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ module Ci
|
|||
end
|
||||
|
||||
def source_to_pattern(source)
|
||||
if %w(api external web).include?(source)
|
||||
if %w[api external web].include?(source)
|
||||
source
|
||||
else
|
||||
source&.pluralize
|
||||
|
|
Loading…
Reference in a new issue