mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
Fix automatic output directory creation
This commit is contained in:
parent
20b3b94327
commit
a6a40f69c8
@ -122,8 +122,8 @@ async fn real_main(mut opt: Opt) -> Result<()> {
|
|||||||
let _ = colored::control::set_virtual_terminal(true);
|
let _ = colored::control::set_virtual_terminal(true);
|
||||||
|
|
||||||
// use UNC paths on Windows
|
// use UNC paths on Windows
|
||||||
opt.output = fs::canonicalize(opt.output).await.context("failed to canonicalize output directory")?;
|
|
||||||
create_dir(&opt.output).await.context("failed to create output directory")?;
|
create_dir(&opt.output).await.context("failed to create output directory")?;
|
||||||
|
opt.output = fs::canonicalize(opt.output).await.context("failed to canonicalize output directory")?;
|
||||||
|
|
||||||
// load .iliasignore file
|
// load .iliasignore file
|
||||||
opt.output.push(".iliasignore");
|
opt.output.push(".iliasignore");
|
||||||
|
Loading…
Reference in New Issue
Block a user