Skip to content
Snippets Groups Projects
Commit c08087fa authored by Yannick DAYER's avatar Yannick DAYER
Browse files

Fix rc not updating its config file path on the CI

parent 368925e2
No related branches found
No related tags found
1 merge request!147Use exposed rc implementation for toml support
Pipeline #66751 passed
......@@ -4,8 +4,10 @@ import logging
import click
from exposed.rc import UserDefaults
from .. import rc
from ..rc_config import _get_rc_path, _rc_to_str, _saverc
from ..rc_config import ENVNAME, RCFILENAME, _get_rc_path, _rc_to_str, _saverc
from .click_helper import AliasedGroup, verbosity_option
# Use the normal logging module. Verbosity and format of logging will be set by
......@@ -88,6 +90,7 @@ def set(key, value):
* If something goes wrong.
"""
try:
rc = UserDefaults(path=RCFILENAME, envname=ENVNAME, logger=logger)
rc[key] = value
rc.write()
except Exception:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment