Skip to content

Commit

Permalink
Lint!
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusaraj committed Mar 28, 2024
1 parent e150996 commit f6af2d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion plugin.rb
Expand Up @@ -389,7 +389,8 @@ def self.skip_db?
INNER JOIN topic_tags tt
ON top.id = tt.topic_id
WHERE tt.tag_id IN (?)
))", tag_ids
))",
tag_ids,
)
end
end
Expand Down
8 changes: 1 addition & 7 deletions spec/integration/solved_spec.rb
Expand Up @@ -72,13 +72,7 @@
custom_topic_name: ::DiscourseSolved::ACCEPTED_ANSWER_POST_ID_CUSTOM_FIELD,
)
end
fab!(:topic_unsolved_2) do
Fabricate(
:topic,
user: user,
tags: [tag],
)
end
fab!(:topic_unsolved_2) { Fabricate(:topic, user: user, tags: [tag]) }
fab!(:topic_solved) do
Fabricate(
:custom_topic,
Expand Down

0 comments on commit f6af2d7

Please sign in to comment.