fix rubocop warning

pull/71/head
Andre Richter 4 years ago
parent 87e74f62cd
commit 829722d9f2
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -247,7 +247,8 @@ class DevTool
def copyright_source_files
extensions = ['.S', '.rs', '.rb']
files = tracked_files.select do |f|
# Note: The selection result is the return value of the function.
tracked_files.select do |f|
next unless File.exist?(f)
next if f.include?('build.rs')
@ -255,8 +256,6 @@ class DevTool
f.include?('Dockerfile') ||
extensions.include?(File.extname(f))
end
files
end
end

Loading…
Cancel
Save