Skip to content

Try this #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2022
Merged
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
4 changes: 2 additions & 2 deletions shake-bench/src/Development/Benchmark/Rules.hs
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,11 @@ instance FromJSON GitCommit where
parseJSON o@(Object _) = do
let keymap = o ^. _Object
case toList keymap of
[(name, String gitName)] -> pure $ GitCommit gitName (Just (fromString $ show name)) Nothing True
[(name, String gitName)] -> pure $ GitCommit gitName (Just name) Nothing True
[(name, Object props)] ->
GitCommit
<$> props .:? "git" .!= name
<*> pure (Just (fromString $ show name))
<*> pure (Just name)
<*> props .:? "parent"
<*> props .:? "include" .!= True
_ -> empty
Expand Down