Skip to content

Commit a76ea94

Browse files
committed
Autocorrect new RuboCop offenses
- Autocorrect Style/ArgumentsForwarding - Autocorrect Lint/RedundantRequireStatement
1 parent 5dea66a commit a76ea94

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/models/content.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "set"
43
require "uri"
54

65
class Content < ApplicationRecord

lib/text_filter_plugin.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def self.help_text
100100
""
101101
end
102102

103-
def self.sanitize(*args)
104-
(@sanitizer ||= Rails::Html::WhiteListSanitizer.new).sanitize(*args)
103+
def self.sanitize(*)
104+
(@sanitizer ||= Rails::Html::WhiteListSanitizer.new).sanitize(*)
105105
end
106106

107107
def self.default_helper_module!; end

0 commit comments

Comments
 (0)