Skip to content

Commit

Permalink
Make the results folder if it's not already there
Browse files Browse the repository at this point in the history
  • Loading branch information
deltamarnix committed Dec 19, 2023
1 parent d986edf commit 17d1003
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function main(ARGS::Vector{String})::Cint
try
# show progress bar in terminal
config = Config(arg)
mkpath(results_path(config, "."))
open(results_path(config, "ribasim.log"), "w") do io
logger =
Ribasim.setup_logger(; verbosity = config.logging.verbosity, stream = io)
Expand Down

0 comments on commit 17d1003

Please sign in to comment.