Commit 32bfa48a authored by Shinya Maeda's avatar Shinya Maeda

use squre bracket

parent 451b684d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment