Skip to content

Commit

Permalink
fix missing return statement in write_csv
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenfree committed Jan 10, 2022
1 parent d7cde37 commit 2c7570f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DataHandler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ function write_csv(curric::Curriculum, file_path::AbstractString; iostream=false
if iostream == true
csv_file = IOBuffer()
write_csv_content(csv_file, curric, false, metrics=metrics)
return csv_file
else
open(file_path, "w") do csv_file
write_csv_content(csv_file, curric, false, metrics=metrics)
Expand Down

0 comments on commit 2c7570f

Please sign in to comment.