Skip to content

Commit

Permalink
[minor] don't find "Hint: gc" for action (nim-lang#20170)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored and capocasa committed Mar 31, 2023
1 parent 831fa22 commit 22deb9d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ci/action.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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""")
Expand All @@ -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()
main()

0 comments on commit 22deb9d

Please sign in to comment.