Skip to content

Commit

Permalink
🐛 Fix XDG migration config path created as dir
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Nov 28, 2023
1 parent 5a3e5da commit b1e9b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wake/migrations/xdg_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def run_xdg_migration() -> None:
else:
raise RuntimeError(f"Platform `{system}` is not supported.")

global_config_path.mkdir(parents=True, exist_ok=True)
global_config_path.parent.mkdir(parents=True, exist_ok=True)
global_data_path.mkdir(parents=True, exist_ok=True)

if config_path.exists():
Expand Down

0 comments on commit b1e9b6d

Please sign in to comment.