Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ change log follows the conventions of
- Bump Jepsen version to 0.3.10.
- Bump Knossos version to 0.3.13 (0.1.13).
- Bump Elle version to 0.2.5.
- Print unknown status without colon (#2).

[Unreleased]: https://github.com/ligurio/elle-cli/compare/0.1.9...HEAD

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ three validity states:

- `true` means the history was valid
- `false` means the history was invalid
- `:unknown` means checker was unable to complete the analysis; e.g. it ran
- `unknown` means checker was unable to complete the analysis; e.g. it ran
out of memory.

In some cases conversion of history from JSON format to Clojure data structures
Expand Down
3 changes: 2 additions & 1 deletion src/elle_cli/cli.clj
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@
(let [read-history (or read-history (read-fn-by-extension filepath))
history (h/history (read-history filepath))
analysis (check-history model-name history options)
validness (:valid? analysis)]
validness (:valid? analysis)
validness (if (keyword? validness) (name validness) validness)]

(swap! results assoc filepath validness)

Expand Down
Loading