File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import Control.Exception
18
18
import Control.Monad hiding (mapM , forM )
19
19
import Control.Monad.IO.Class
20
20
import Control.Monad.Logger
21
- import Control.Monad.Reader (ask , local , runReaderT )
21
+ import Control.Monad.Reader (local )
22
22
import Control.Monad.Trans.Either (EitherT )
23
23
import Control.Monad.Writer.Lazy (Writer )
24
24
import Data.Attoparsec.Args (parseArgs , EscapingMode (Escaping ))
@@ -835,12 +835,9 @@ dockerCleanupCmd cleanupOpts go@GlobalOpts{..} = do
835
835
836
836
cfgSetCmd :: ConfigCmd. ConfigCmdSet -> GlobalOpts -> IO ()
837
837
cfgSetCmd co go@ GlobalOpts {.. } =
838
- withBuildConfigAndLock
838
+ withMiniConfigAndLock
839
839
go
840
- (\ _ -> do env <- ask
841
- runReaderT
842
- (cfgCmdSet co)
843
- env)
840
+ (cfgCmdSet co)
844
841
845
842
imgDockerCmd :: (Bool , [Text ]) -> GlobalOpts -> IO ()
846
843
imgDockerCmd (rebuild,images) go@ GlobalOpts {.. } = do
You can’t perform that action at this time.
0 commit comments