Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def find_debops_project(path=None, required=True):
project_root = _find_debops_project(path)
if required and not project_root:
# Exit if we are outside of project directory
error_msg("Not a DebOps project directory")
return project_root