mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-12 22:14:07 +00:00
Use default short commit length for Codex revision (#690)
This commit is contained in:
parent
fd3c566b25
commit
ca0660b07e
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user