From 474321e1f34da88892b0e12f231d5d4e293c1e15 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 25 Feb 2026 21:11:06 +0000 Subject: [PATCH] chore: Auto update by pre-commit hooks https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/22416032302 [skip changelog] --- src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp | 7 +------ tools/ResourceUpdater/CMakePresets.json | 4 +--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp b/src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp index f6347abebf..8f5ca7d266 100644 --- a/src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp +++ b/src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp @@ -310,12 +310,7 @@ BattlefieldMatcher::MatchResult> BattlefieldMatcher::kills_a } if (kills_text.length() <= pos + 1) { - Log.error( - "kills_text length is too short: text='{}', length={}, pos={}", - kills_text, - kills_text.size(), - pos - ); + Log.error("kills_text length is too short: text='{}', length={}, pos={}", kills_text, kills_text.size(), pos); return {}; } diff --git a/tools/ResourceUpdater/CMakePresets.json b/tools/ResourceUpdater/CMakePresets.json index 095e2bfc0e..d4aab01bcf 100644 --- a/tools/ResourceUpdater/CMakePresets.json +++ b/tools/ResourceUpdater/CMakePresets.json @@ -48,9 +48,7 @@ { "name": "macos-arm64", "displayName": "macOS arm64 Release", - "$comment": [ - "see .github/workflows/res-update-game.yml" - ], + "$comment": ["see .github/workflows/res-update-game.yml"], "generator": "Ninja", "binaryDir": "${sourceDir}/build", "cacheVariables": {