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 metagn committed Aug 12, 2022
1 parent d888190 commit 39694b3
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 39694b3

Please sign in to comment.