Skip to content

Commit

Permalink
undo mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
kthare10 committed Nov 30, 2024
1 parent ab38edb commit d62efbf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fabrictestbed_extensions/fablib/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,7 @@ def __init__(
"""
if fabric_rc is None:
fabric_rc = Constants.DEFAULT_FABRIC_RC
if not os.path.exists(Constants.DEFAULT_FABRIC_CONFIG_DIR):
Path.mkdir(Constants.DEFAULT_FABRIC_CONFIG_DIR, exist_ok=True)
Path(fabric_rc).touch()
elif os.path.exists(Constants.DEFAULT_FABRIC_CONFIG_DIR):
if os.path.exists(Constants.DEFAULT_FABRIC_CONFIG_DIR):
Path(fabric_rc).touch()

if fabric_rc and os.path.exists(fabric_rc):
Expand Down

0 comments on commit d62efbf

Please sign in to comment.