diff --git a/github_app_geo_project/module/versions/__init__.py b/github_app_geo_project/module/versions/__init__.py index f157d93c186..69869238ed7 100644 --- a/github_app_geo_project/module/versions/__init__.py +++ b/github_app_geo_project/module/versions/__init__.py @@ -527,7 +527,7 @@ def _get_dependencies( index = -1 for i, line in enumerate(lines): - if "packageFiles" in line and line.strip().endswith(" "): + if '"packageFiles": {' in line and line.strip().startswith(" "): index = i break if index != -1: