fix git revision string in config.nim

This commit is contained in:
jangko 2020-07-22 18:40:12 +07:00
parent 285d1ae7d8
commit 032c29288a
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ const
NimbusIdent* = "$1/$2 ($3/$4)" % [NimbusName, NimbusVersion, hostCPU, hostOS]
## project ident name for networking services
GitRevision = staticExec("git rev-parse --short HEAD")
GitRevision = staticExec("git rev-parse --short HEAD").replace("\n") # remove CR
NimVersion = staticExec("nim --version")