Skip to content

Commit

Permalink
Prepare for release (#29)
Browse files Browse the repository at this point in the history
* version bump 1.0.1 -> 1.0.4

* correct check for no params
  • Loading branch information
Rohitrajak1807 authored Jul 10, 2021
1 parent 70b5a90 commit 9189dd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='gitcomp',
version='1.0.1',
version='1.0.4',
author='Anirudh Vaish',
author_email='[email protected]',
url='https://github.com/avaish1409/gitcomp',
Expand Down
2 changes: 1 addition & 1 deletion src/gitcomp/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def safe_exit(parser: argparse.ArgumentParser):
def main():
arg_parser = __get_arg_parser()
args = arg_parser.parse_args()
if args.user_names is None and args.repo_names is None:
if len(args.user_names) == len(args.repo_names) == 0:
safe_exit(arg_parser)
users = list(set(args.user_names)) or None
repos = list((set(args.repo_names))) or None
Expand Down

0 comments on commit 9189dd6

Please sign in to comment.