Use default short commit length for Codex revision (#690)

This commit is contained in:
Slava 2024-01-30 19:58:55 +02:00 committed by GitHub
parent fd3c566b25
commit ca0660b07e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -293,7 +293,6 @@ proc getCodexVersion(): string =
proc getCodexRevision(): string = proc getCodexRevision(): string =
# using a slice in a static context breaks nimsuggest for some reason # using a slice in a static context breaks nimsuggest for some reason
var res = strip(staticExec("git rev-parse --short HEAD")) var res = strip(staticExec("git rev-parse --short HEAD"))
res.setLen(6)
return res return res
proc getNimBanner(): string = proc getNimBanner(): string =