summaryrefslogtreecommitdiffstats
path: root/lib/redmine/diff_table.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-11-28 00:26:46 +0000
committerGo MAEDA <maeda@farend.jp>2024-11-28 00:26:46 +0000
commit5e9b2e9d9214394586ae024e38e4458006dbc711 (patch)
treeaab1267096d17528e2ba69b73b952d08124a4b15 /lib/redmine/diff_table.rb
parentbb8e25f2530d240872929f5884e0b18de366ed37 (diff)
downloadredmine-5e9b2e9d9214394586ae024e38e4458006dbc711.tar.gz
redmine-5e9b2e9d9214394586ae024e38e4458006dbc711.zip
Update RuboCop to 1.69 (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23316 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/diff_table.rb')
-rw-r--r--lib/redmine/diff_table.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine/diff_table.rb b/lib/redmine/diff_table.rb
index a768d9af9..55e40a667 100644
--- a/lib/redmine/diff_table.rb
+++ b/lib/redmine/diff_table.rb
@@ -82,6 +82,7 @@ module Redmine
private
def file_name=(arg)
+ # rubocop:disable Style/FileNull
both_git_diff = false
if file_name.nil?
@git_diff = true if %r{^(a/|/dev/null)}.match?(arg)
@@ -106,6 +107,7 @@ module Redmine
else
@file_name = arg
end
+ # rubocop:enable Style/FileNull
end
def diff_for_added_line