Commit 809562e
Create storage directory before generating API key
The load_or_generate_api_key function would fail with "No such file or
directory" when the network-specific storage directory didn't exist.
This adds fs::create_dir_all() to ensure the directory exists before
writing the API key file.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 7e55f97 commit 809562e
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
548 | 551 | | |
549 | 552 | | |
550 | 553 | | |
| |||
0 commit comments