Skip to content

Commit

Permalink
feat: add RIO_CONFIG env override
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-ardley committed Nov 25, 2024
1 parent 69ff6ea commit 0b35220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riocli/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Configuration(object):
MERGE_TOOL = "vimdiff"

def __init__(self, filepath: Optional[str] = None):
self._filepath = filepath
self._filepath = os.environ.get("RIO_CONFIG", filepath)
self.exists = True

# If config file does not exist, then initialize an empty dictionary instead.
Expand Down

0 comments on commit 0b35220

Please sign in to comment.