remove version quotes

This commit is contained in:
Jacek Sieka 2020-11-09 13:37:58 +01:00
parent 019f815ee5
commit 61a3209c24
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
2 changed files with 2 additions and 2 deletions

View File

@ -803,7 +803,7 @@ func init*(T: type GraffitiBytes, input: string): GraffitiBytes
func defaultGraffitiBytes*(): GraffitiBytes = func defaultGraffitiBytes*(): GraffitiBytes =
let graffitiBytes = let graffitiBytes =
toBytes("Nimbus/" & fullVersionStr & " \"" & versionBlob & "\"") toBytes("Nimbus/" & fullVersionStr & "-" & versionBlob)
distinctBase(result)[0 ..< graffitiBytes.len] = graffitiBytes distinctBase(result)[0 ..< graffitiBytes.len] = graffitiBytes
proc writeValue*(w: var JsonWriter, value: GraffitiBytes) proc writeValue*(w: var JsonWriter, value: GraffitiBytes)

View File

@ -10,7 +10,7 @@ const
versionMajor* = 0 versionMajor* = 0
versionMinor* = 6 versionMinor* = 6
versionBuild* = 0 versionBuild* = 0
versionBlob* = "hope" # This ends up in the default graffitti versionBlob* = "hope" # Single word - ends up in the default graffitti
useInsecureFeatures* = defined(insecure) useInsecureFeatures* = defined(insecure)