Commit 6a754b2a authored by Camil Staps's avatar Camil Staps 🍃

Remove Clean System Files from path to be able to use the *-sapl directory

parent 9f1d376c
......@@ -140,12 +140,12 @@ where
# (e,w) = fileExists filename w
= if e (Just filename, w) (findModule [] libs w)
where
filename = (fromJust opts.home </> "lib" </> lib </> modPath </> "Clean System Files" </> modBasename +++ ".sapl")
filename = (fromJust opts.home </> "lib" </> lib </> modPath </> modBasename +++ ".sapl")
findModule [path:paths] libs w
# (e,w) = fileExists filename w
= if e (Just filename, w) (findModule paths libs w)
where
filename = (path </> modPath </> "Clean System Files" </> modBasename +++ ".sapl")
filename = (path </> modPath </> modBasename +++ ".sapl")
findModule _ _ w = (Nothing, w)
genCode :: !Options !String !*(!*File,!ParserState,!*World) -> *(!*File,!ParserState,!*World)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment