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

Run `rubocop -a` on modules/ldap_groups

Aaron Contrerasc4921da5927a
diff --git a/modules/ldap_groups/lib/tasks/ldap_groups.rake b/modules/ldap_groups/lib/tasks/ldap_groups.rake
index c8bbf70fc51..3ddd039cacd 100644
--- a/modules/ldap_groups/lib/tasks/ldap_groups.rake
+++ b/modules/ldap_groups/lib/tasks/ldap_groups.rake
@@ -28,7 +28,7 @@
namespace :ldap_groups do
desc 'Synchronize groups and their users from the LDAP auth source.' \
- 'Will only synchronize for those users already present in the application.'
+ 'Will only synchronize for those users already present in the application.'
task synchronize: :environment do
LdapGroups::SynchronizationService.synchronize!
end
@@ -116,7 +116,7 @@ namespace :ldap_groups do
filter.save!
- ::LdapGroups::SynchronizationJob.perform_now
+ LdapGroups::SynchronizationJob.perform_now
puts "Send CTRL+D to stop the server"
require 'irb'