lib/rubocop/cop/discourse/no_chdir.rb in rubocop-discourse-3.8.1 vs lib/rubocop/cop/discourse/no_chdir.rb in rubocop-discourse-3.8.2
- old
+ new
@@ -11,10 +11,10 @@
# end
#
# @example
# # bad
# Dir.chdir("test")
- class NoChdir < Cop
+ class NoChdir < Base
MSG = "Chdir is not thread safe."
def_node_matcher :using_dir_chdir?, <<-MATCHER
(send (const nil? :Dir) :chdir ...)
MATCHER