From d58bf143bb3b83c18cb6ef2ec77a11be06f61189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Mon, 10 Jun 2024 09:08:54 +0200 Subject: [PATCH] Versions: Fix getting dependencies --- github_app_geo_project/module/versions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: