Skip to content

Commit 2e6acee

Browse files
authored
Merge pull request #234 from CycloneDX/enhancement/issue-232-error-message
fix: error message when `requirements.txt` file is non-existent updated
2 parents f3522b9 + 3bbc071 commit 2e6acee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclonedx_py/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _get_input_parser(self) -> BaseParser:
137137
# A requirements.txt path was provided
138138
return RequirementsFileParser(requirements_file=requirements_file)
139139
else:
140-
self._error_and_exit('The requirements.txt file path provided does not exist ({})'.format(
140+
self._error_and_exit('The provided file \'{}\' does not exist'.format(
141141
requirements_file
142142
))
143143
else:

0 commit comments

Comments
 (0)