mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
fix: invalid vcs subcommand
This commit is contained in:
parent
abed4c9aad
commit
e6e3b963dd
2 changed files with 1 additions and 2 deletions
|
|
@ -245,7 +245,6 @@ def bump(
|
||||||
if dry or _vcs is None or not cfg.commit:
|
if dry or _vcs is None or not cfg.commit:
|
||||||
return
|
return
|
||||||
|
|
||||||
return
|
|
||||||
for filepath in filepaths:
|
for filepath in filepaths:
|
||||||
_vcs.add(filepath)
|
_vcs.add(filepath)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ class VCS:
|
||||||
|
|
||||||
def add(self, path) -> None:
|
def add(self, path) -> None:
|
||||||
log.info(f"{self.name} add {path}")
|
log.info(f"{self.name} add {path}")
|
||||||
self('add', path=path)
|
self('add_path', path=path)
|
||||||
|
|
||||||
def commit(self, message: str) -> None:
|
def commit(self, message: str) -> None:
|
||||||
log.info(f"{self.name} commit -m '{message}'")
|
log.info(f"{self.name} commit -m '{message}'")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue