Skip to content

Commit

Permalink
Fix undefined exception in clear command
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Feb 26, 2018
1 parent 1302c38 commit c61023a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ run cmd = do
case cmd of
DAEMON -> runReaderT runDaemon cfg
PRINT -> runReaderT printHistoryForRofi cfg
CLEAR -> undefined --runReaderT (storeHistory mempty) cfg
CLEAR -> runReaderT (storeHistory mempty) cfg
-- Should rename COPY into ADVERTISE but as greenclip is already used I don't want to break configs
-- of other people
COPY sel -> runReaderT (advertiseSelection sel) cfg
Expand Down

0 comments on commit c61023a

Please sign in to comment.