Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone mode must also create intermediate folders #32

Open
minthemiddle opened this issue Sep 20, 2024 · 1 comment
Open

Standalone mode must also create intermediate folders #32

minthemiddle opened this issue Sep 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@minthemiddle
Copy link
Owner

If path more than existing for standalone, intermediate folders must be created.

@minthemiddle minthemiddle added the bug Something isn't working label Sep 20, 2024
@minthemiddle minthemiddle changed the title Standalone must also create intermediate folders Standalone mode must also create intermediate folders Sep 20, 2024
@minthemiddle
Copy link
Owner Author

minthemiddle commented Sep 20, 2024

It probably also fails to create x intermediate folders for daily mode

Relevant code:

let path = PathBuf::from(file_name);

 if let Some(parent) = path.parent() {
     create_dir_all(parent).expect("Failed to create directories");
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant