From fd6640fcda29bf56c7a5079c4a9bf286eee6615c Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Sun, 7 Aug 2022 23:50:26 +0800 Subject: [PATCH] [minor] don't find `"Hint: gc"` for action (#20170) --- ci/action.nim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ci/action.nim b/ci/action.nim index 8c32600961..5d3a50fda2 100644 --- a/ci/action.nim +++ b/ci/action.nim @@ -9,9 +9,7 @@ proc main() = doAssert exitCode == 0, output - var start = rfind(output, "Hint: gc") - if start < 0: - start = rfind(output, "Hint: mm") + let start = rfind(output, "Hint: mm") doAssert parseUntil(output, msg, "; proj", start) > 0, output let (commitHash, _) = execCmdEx("""git log --format="%H" -n 1""") @@ -25,4 +23,4 @@ The lines below are statistics of the Nim compiler built from {commitHash} writeFile "ci/nimcache/results.txt", welcomeMessage when isMainModule: - main() \ No newline at end of file + main()