Skip to content

fix: create config folder if not yet present#39

Merged
ronny-standtke merged 2 commits intoomnect:mainfrom
ronny-standtke:fix/create-config-folder
May 13, 2025
Merged

fix: create config folder if not yet present#39
ronny-standtke merged 2 commits intoomnect:mainfrom
ronny-standtke:fix/create-config-folder

Conversation

@ronny-standtke
Copy link
Member

No description provided.

@ronny-standtke ronny-standtke merged commit 581fa47 into omnect:main May 13, 2025
2 checks passed
@ronny-standtke ronny-standtke deleted the fix/create-config-folder branch May 13, 2025 10:07
Comment on lines +189 to +192
fs::create_dir_all(parent).context("failed to create frontend config directory")?;

let mut config_file =
std::fs::File::create(config_path).expect("failed to create frontend config file");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context vs expect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants