Skip to content

Commit

Permalink
Merge #218
Browse files Browse the repository at this point in the history
218: koch: fix source archive version check r=alaviss a=alaviss

Remove the erroneous double negation.

Co-authored-by: Leorize <leorize+oss@disroot.org>
  • Loading branch information
bors[bot] and alaviss authored Jan 31, 2022
2 parents dce4c78 + fcd8901 commit a60233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/koch/kochdocs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ proc getSourceMetadata*(): tuple[hash, date, versionSuffix: string] =
hash = getStr releaseMetadata["commit"]
date = getStr releaseMetadata["commit_date"]
let releaseVersion = nversion.parse(getStr releaseMetadata["version"])
if not releaseVersion.cmpBase(CompilerVersion) != 0:
if releaseVersion.cmpBase(CompilerVersion) != 0:
quit:
"The compiler base version (" & VersionAsString & ")" &
" is different from release metadata: " & $releaseVersion
Expand Down

0 comments on commit a60233a

Please sign in to comment.