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_monorepopath(config, project_root, required=True):
monorepo_path = _find_monorepopath(config, project_root)
if required and not monorepo_path:
error_msg("DebOps monorepo not installed")
return monorepo_path