Cleanup
This commit is contained in:
parent
cdc74e059c
commit
f7149ba23f
@ -318,9 +318,10 @@ sandboxOpts crdl = do
|
||||
where
|
||||
(wdir, rdir) = (cradleCurrentDir crdl, cradleRootDir crdl)
|
||||
|
||||
getSandboxPackageDbStack :: FilePath
|
||||
-- ^ Project Directory (where the cabal.sandbox.config
|
||||
-- file would be if it exists)
|
||||
getSandboxPackageDbStack
|
||||
:: FilePath
|
||||
-- ^ Project Directory (where the cabal.sandbox.config file would be if
|
||||
-- it exists)
|
||||
-> IO [GhcPkgDb]
|
||||
getSandboxPackageDbStack cdir =
|
||||
([GlobalDb] ++) . maybe [UserDb] return <$> getSandboxDb cdir
|
||||
|
Loading…
Reference in New Issue
Block a user