Skip to content

Commit 5455984

Browse files
Move log line from method back to run_sis
1 parent fac4cd0 commit 5455984

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

lib/sis.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,12 @@ def run_sis(setup)
1818
as_of_date = SIS::API.as_of_date
1919
writer = Alma::XMLWriter.new(setup.xml_path)
2020

21-
log_run(term_id, as_of_date)
21+
logger.info "Running SIS\nTerm ID: #{term_id}\nRequest Root: #{sis_root} As-of-Date #{as_of_date}"
22+
2223
process_users(term_id, as_of_date, ignore_list, writer)
2324
finalize_output(writer, setup)
2425
end
2526

26-
def log_run(term_id, as_of_date)
27-
logger.info "Running SIS\nTerm ID: #{term_id}\nRequest Root: #{sis_root} As-of-Date #{as_of_date}"
28-
end
29-
3027
def process_users(term_id, as_of_date, ignore_list, writer)
3128
raw_users = SIS::API.fetch_by_term(term_id, as_of_date)
3229

0 commit comments

Comments
 (0)