on master help sign in
use noTrail
commit9d2a425c2ab3a5b7111d4bf8b688503c2e496baf authorhsloan <ishaqsloan@gmail.com> dateFri 9 Nov 2018, 18:50 (8 years ago) parent1271819
1 file changed+2−2
lib/command/src/Obelisk/Command/Thunk.hs+2−2
lib/command/src/Obelisk/Command/Thunk.hs+2−2
@@ -628,13 +628,13 @@ setThunk = setThunk' False
628628
629629setThunk' :: MonadObelisk m => Bool -> String -> FilePath -> m ()
630630setThunk' noTrail branch thunkDir = do
631− _ <- unpackThunk thunkDir
631+ _ <- unpackThunk' noTrail thunkDir
632632 -- TODO: may have to get current dir before switching
633633 initalDir <- liftIO getCurrentDirectory
634634 liftIO $ setCurrentDirectory thunkDir
635635 callProcessAndLogOutput (Debug, Error) $ proc "git" ["checkout", branch]
636636 liftIO $ setCurrentDirectory initalDir
637− _ <- packThunk thunkDir
637+ _ <- packThunk' noTrail thunkDir
638638 updateThunkToLatest thunkDir
639639
640640getThunkPtr :: MonadObelisk m => FilePath -> m ThunkPtr