mirror of
https://github.com/discourse/discourse.git
synced 2026-08-10 04:58:31 -05:00
DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073)
Co-authored-by: Loïc Guitaut <loic@discourse.org>
This commit is contained in:
co-authored by
Loïc Guitaut
parent
9a0a99b77d
commit
71834c898f
+1
-1
@@ -259,7 +259,7 @@ class PostCreator
|
||||
end
|
||||
|
||||
def self.track_post_stats
|
||||
Rails.env != "test" || @track_post_stats
|
||||
!Rails.env.test? || @track_post_stats
|
||||
end
|
||||
|
||||
def self.track_post_stats=(val)
|
||||
|
||||
Reference in New Issue
Block a user