Skip to content

Commit 2dcca6c

Browse files
authored
Fixed rake task description (#2248)
The department affiliations rake task has the wrong description, this fixes it.
1 parent 2e6bd38 commit 2dcca6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/tasks/load_departments.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22
namespace :load_affiliations do
3-
desc "Load in users from the registration list"
3+
desc "Load department affiliations from a file"
44
task :from_file, [:department_file] => [:environment] do |_, args|
55
Affiliation.load_from_file(args[:department_file])
66
end

lib/tasks/load_users.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22
namespace :load_users do
3-
desc "Load user from ldap"
3+
desc "Load users from LDAP"
44
task from_ldap: :environment do
55
count_before = User.count
66
PrincetonUsers.create_users_from_ldap

0 commit comments

Comments
 (0)