mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
[minor] don't find "Hint: gc" for action (#20170)
This commit is contained in:
@@ -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()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user