mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
make fmt
This commit is contained in:
parent
871a2a9740
commit
99c14c0df9
7 changed files with 10 additions and 11 deletions
|
|
@ -187,7 +187,7 @@ def diff(new_version: str, file_patterns: config.PatternsByGlob) -> str:
|
|||
content = fh.read()
|
||||
|
||||
try:
|
||||
rfd = rfd_from_content(pattern_strs, new_version, content)
|
||||
rfd = rfd_from_content(pattern_strs, new_version, content)
|
||||
except ValueError:
|
||||
errmsg = f"No patterns matched for '{file_path}'"
|
||||
raise ValueError(errmsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue