Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit e51ca5c

Browse files
committed
Fix refactoring mistake
Should have been part of 7d09efd
1 parent 4711643 commit e51ca5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Haskell/Ide/Engine/Dispatcher.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ validateContexts cd req = r
107107
, ideMessage = T.pack ("no valid context found, expecting one of:" ++ show (cmdContexts cd))
108108
, ideInfo = Nothing
109109
}
110-
(ctxs, []) ->
110+
(ctxs, _) ->
111111
case checkParams (cmdAdditionalParams cd) (ideParams req) of
112112
Left e -> Left e
113113
Right _ -> Right ctxs

0 commit comments

Comments
 (0)