Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove empty excludes from copyright tasks

Ivan Kuchindd7df445601d
diff --git a/lib/tasks/copyright.rake b/lib/tasks/copyright.rake
index fd0895f70c5..1e653fdb302 100644
--- a/lib/tasks/copyright.rake
+++ b/lib/tasks/copyright.rake
@@ -177,16 +177,12 @@ namespace :copyright do
desc "Update the copyright on .css source files"
task :update_css, :path do |_task, args|
- excluded = []
-
- rewrite_copyright("css", excluded, :css, args[:path])
+ rewrite_copyright("css", [], :css, args[:path])
end
desc "Update the copyright on .css.erb source files"
task :update_css_erb, :path do |_task, args|
- excluded = []
-
- rewrite_copyright("css.erb", excluded, :css, args[:path])
+ rewrite_copyright("css.erb", [], :css, args[:path])
end
desc "Update the copyright on .sass source files"
@@ -204,9 +200,7 @@ namespace :copyright do
desc "Update the copyright on .js source files"
task :update_js, :path do |_task, args|
- excluded = []
-
- rewrite_copyright("js", excluded, :js, args[:path])
+ rewrite_copyright("js", [], :js, args[:path])
end
desc "Update the copyright on .js.erb source files"