Skip to content

Commit addfecb

Browse files
committed
Correcting remaining rubocop mistakes
These were introduced after the previous fix commit, before merging that and the CI task
1 parent 4d9cb11 commit addfecb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/services/search/query_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Grammar < Parslet::Parser
2929

3030
# Bracketed text (treated as plain text, not dependent conditions)
3131
rule(:bracketed_text) do
32-
str('[') >> (str(']').absent? >> any).repeat.as(:bracketed_content) >> str(']')
32+
str("[") >> (str("]").absent? >> any).repeat.as(:bracketed_content) >> str("]")
3333
end
3434

3535
# Selector keywords - IMPORTANT: longer strings must come before shorter prefixes

0 commit comments

Comments
 (0)