Skip to content

Commit

Permalink
Use default short commit length for Codex revision (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
veaceslavdoina authored Jan 30, 2024
1 parent fd3c566 commit ca0660b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion codex/conf.nim
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ proc getCodexVersion(): string =
proc getCodexRevision(): string =
# using a slice in a static context breaks nimsuggest for some reason
var res = strip(staticExec("git rev-parse --short HEAD"))
res.setLen(6)
return res

proc getNimBanner(): string =
Expand Down

0 comments on commit ca0660b

Please sign in to comment.