Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Only format edition if it is set
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrolasting committed Aug 2, 2020
1 parent 7ebcb66 commit 10c357a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ EOF

(define new-info
(struct-copy zcpkg-info info
[edition-name (or (~a (ZCPKG_EDITION))
[edition-name (if (ZCPKG_EDITION)
(~a (ZCPKG_EDITION))
(zcpkg-info-edition-name info))]
[revision-number (if (ZCPKG_REVISION_ZERO)
0
Expand Down

0 comments on commit 10c357a

Please sign in to comment.