From 3bbc071a1ff26599bd9eb3220de38bd9c58fa294 Mon Sep 17 00:00:00 2001 From: Paul Horton Date: Mon, 27 Sep 2021 13:44:06 +0100 Subject: [PATCH] fix: error message when `requirements.txt` file is non-existent updated Signed-off-by: Paul Horton --- cyclonedx_py/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyclonedx_py/client.py b/cyclonedx_py/client.py index 517941ca..93ea55ad 100644 --- a/cyclonedx_py/client.py +++ b/cyclonedx_py/client.py @@ -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: