Merge pull request #1345 from erdeszt/use-defaultoptions-in-psci
Use Options.defaultOptions in PSCi.runMake
commit48c6ad281f81dcae46b60cb2a1186737fe16c5b3
authorPhil Freeman <paf31@cantab.net>
dateSun 9 Aug 2015, 10:36 (11 years ago)
parentff27224ebb52f1
psci/PSCi.hs+1−1
@@ -251,7 +251,7 @@ modulesDir = ".psci_modules" ++ pathSeparator : "node_modules"
251251-- | This is different than the runMake in 'Language.PureScript.Make' in that it specifies the
252252-- options and ignores the warning messages.
253253runMake :: P.Make a -> IO (Either P.MultipleErrors a)
254−runMake mk = fmap (fmap fst) $ P.runMake (P.Options False False Nothing False False False Nothing) mk
254+runMake mk = fmap (fmap fst) $ P.runMake P.defaultOptions mk
255255
256256makeIO :: (IOError -> P.ErrorMessage) -> IO a -> P.Make a
257257makeIO f io = do