Skip to content

Commit

Permalink
MAINT: Update asv/config.py
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Colley <lucas.colley8@gmail.com>
  • Loading branch information
HaoZeke and lucascolley authored Aug 11, 2024
1 parent c17b79a commit cd1f2ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asv/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def load(cls, path=None):

if not os.path.isfile(path):
# also check for `asv.conf.jsonc` (JSON with comments)
path += 'c'
if not os.path.isfile(path):
path_c = path + 'c'
if not os.path.isfile(path_c):
raise util.UserError(f"Config file {path} not found.")

d = util.load_json(path, cls.api_version, js_comments=True)
Expand Down

0 comments on commit cd1f2ee

Please sign in to comment.