From 1d764ec744902a6e14a6c96b9661833d8f0c614f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 3 Aug 2026 08:17:16 +0200 Subject: [PATCH] Correct Mealie historical path count --- .github/workflows/lint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5652a2cf8b..c92a253cd3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -86,10 +86,10 @@ jobs: new_mealie_path = "/addon_configs/db21ed7f_mealie" old_count = mealie_text.count(old_mealie_path) if old_count: - if old_count != 4: - raise SystemExit(f"mealie/CHANGELOG.md: expected 4 historical paths, found {old_count}") + if old_count != 5: + raise SystemExit(f"mealie/CHANGELOG.md: expected 5 historical paths, found {old_count}") mealie_text = mealie_text.replace(old_mealie_path, new_mealie_path) - elif mealie_text.count(new_mealie_path) < 4: + elif mealie_text.count(new_mealie_path) < 5: raise SystemExit("mealie/CHANGELOG.md: historical path correction not found") mealie_text = mealie_text.replace("backuped", "backed up").replace("occured", "occurred") mealie.write_text(mealie_text)