Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Merge branch 'main' into Release-5.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nharper285 authored Oct 29, 2022
2 parents cac6bdd + d7d55c7 commit 6f318d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/onefuzz/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def load_config(self) -> None:
self.config = BackendConfig.parse_obj(data)

def save_config(self) -> None:
os.makedirs(os.path.dirname(self.config_path), exist_ok=True)
with open(self.config_path, "w") as handle:
handle.write(self.config.json(indent=4, exclude_none=True))

Expand Down

0 comments on commit 6f318d5

Please sign in to comment.