diff --git a/source/modules/validators/validate.py b/source/modules/validators/validate.py index 075929e4..fe16d52c 100644 --- a/source/modules/validators/validate.py +++ b/source/modules/validators/validate.py @@ -142,13 +142,12 @@ def validate_self_setup(self, options: dict, config: dict): infra["name"]) sys.exit(59) else: - ret = options["self_setup"] + return options["self_setup"] else: self.logger.critical("Provided --self-setup path %s does not exist!", options["self_setup"]) sys.exit(59) - - return ret + return None def validate_commit(self, options: dict, config: dict): """Function to validate commit value against config and assign final value"""