We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f76bf3 commit 0478db9Copy full SHA for 0478db9
1 file changed
lib/chatops/controller/test_case_helpers.rb
@@ -50,7 +50,7 @@ def chat(message, user, room_id = "123")
50
51
named_params, command = extract_named_params(message)
52
53
- matcher = matchers.find { |matcher| matcher["regex"].match(command) }
+ matcher = matchers.find { |m| m["regex"].match(command) }
54
55
raise NoMatchingCommandRegex.new("No command matches '#{command}'") unless matcher
56
0 commit comments