Skip to content

Commit c0a773d

Browse files
committed
Missing withWorkingDir
1 parent 4ec36a6 commit c0a773d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Stack/PackageLocation.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ cloneRepo projRoot url commit repoType' = do
213213
]) runProcess_
214214
created <- doesDirExist dir
215215
unless created $ throwM $ FailedToCloneRepo commandName
216-
readProcessNull commandName
216+
withWorkingDir dir $ readProcessNull commandName
217217
(resetCommand ++ [T.unpack commit, "--"])
218218
`catchAny` \case
219219
ex -> do

0 commit comments

Comments
 (0)