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 =
|
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 =
|
||||||
|
|
Loading…
Reference in New Issue