Closed Seasawher closed 10 months ago
The reason is a difference in the path delimiter.
I suggest a following change: 👍
def getImportsString : ScriptM String := do let paths ← getAllFiles let imports := paths.map fun p => "import " ++ ((p.splitOn ".").head!.replace "/" ".").replace "\\" "." return s!"{"\n".intercalate imports}\n"
The reason is a difference in the path delimiter.
I suggest a following change: 👍