Don't overwrite the set log_action when using --interactive

Authored by mpickering on Jan 20 2019, 7:58 PM.

Description

Don't overwrite the set log_action when using --interactive

-ddump-json didn't work with --interactive as --interactive overwrote
the log_action in terms of defaultLogAction.

Reviewers: bgamari

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: Trac #14078

Differential Revision: https://phabricator.haskell.org/D4533

(cherry picked from commit 10faf44d97095b2f8516b6d449d266f6889dcd70)

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Apr 1 2019, 1:43 AM
Differential Revision
D4533: Don't overwrite the set log_action when using --interactive
Parents
rGHC882ed7d4882e: Bump Haddock submodule
Branches
Unknown
Tags
Unknown
References
cherry-pick-10faf44d