Skip to content

Commit

Permalink
Merge pull request #1112 from rrnewton/filelock5
Browse files Browse the repository at this point in the history
Allow stack path to release the lock immediately.  Fixes #872
  • Loading branch information
snoyberg committed Oct 6, 2015
2 parents 9197a75 + 0dda45d commit 3906811
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,9 @@ main = withInterpreterArgs stackProgName $ \args isInterpreter -> do
-- support others later).
pathCmd :: [Text] -> GlobalOpts -> IO ()
pathCmd keys go =
withBuildConfigAndLock
withBuildConfig
go
(\_ ->
do env <- ask
(do env <- ask
let cfg = envConfig env
bc = envConfigBuildConfig cfg
menv <- getMinimalEnvOverride
Expand Down

0 comments on commit 3906811

Please sign in to comment.