diff --git a/source/modules/validators/validate.py b/source/modules/validators/validate.py index 075929e4..dfae371f 100644 --- a/source/modules/validators/validate.py +++ b/source/modules/validators/validate.py @@ -142,14 +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 - def validate_commit(self, options: dict, config: dict): """Function to validate commit value against config and assign final value""" if not options["commit"]: