Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul-shahdadpuri committed Sep 27, 2020
1 parent b3e9ede commit d71103b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release_bot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,7 @@ def look_for_version_files(repo_directory, new_version):

if success:
changed.append(filename.replace(repo_directory + '/', '', 1))
if len(changed) > 1:
logger.error('Multiple version files found. Aborting version update.')
elif not changed:
if not changed:
logger.error('No version files found. Aborting version update.')

return changed
Expand Down

0 comments on commit d71103b

Please sign in to comment.