on master help sign in
command: Get rid of old comment
commit41790395df0d425d8fbc022e0cfdbee1102bc5e3 authorElliot Cameron <eacameron@gmail.com> dateThu 30 Jan 2020, 23:53 (7 years ago) parent4d6bbfe
1 file changed+1−1
lib/command/src/Obelisk/Command/Thunk.hs+1−1
lib/command/src/Obelisk/Command/Thunk.hs+1−1
@@ -853,7 +853,7 @@ getLatestRev os = do
853853uriThunkPtr :: MonadObelisk m => GitUri -> Maybe Text -> Maybe Text -> m ThunkPtr
854854uriThunkPtr uri mbranch mcommit = do
855855 commit <- case mcommit of
856− Nothing -> gitGetCommitBranch uri mbranch >>= return . snd -- return . (\(_, y, _)->y) --perhaps do io here instead of making uriToTHunkSource effectful ?
856+ Nothing -> gitGetCommitBranch uri mbranch >>= return . snd
857857 (Just c) -> return c
858858 (src, rev) <- uriToThunkSource uri mbranch >>= \case
859859 ThunkSource_GitHub s -> do