Skip to content

Commit

Permalink
Merge pull request #234 from CycloneDX/enhancement/issue-232-error-me…
Browse files Browse the repository at this point in the history
…ssage

fix: error message when `requirements.txt` file is non-existent updated
  • Loading branch information
madpah authored Sep 27, 2021
2 parents f3522b9 + 3bbc071 commit 2e6acee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclonedx_py/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _get_input_parser(self) -> BaseParser:
# A requirements.txt path was provided
return RequirementsFileParser(requirements_file=requirements_file)
else:
self._error_and_exit('The requirements.txt file path provided does not exist ({})'.format(
self._error_and_exit('The provided file \'{}\' does not exist'.format(
requirements_file
))
else:
Expand Down

0 comments on commit 2e6acee

Please sign in to comment.