Skip to content

Commit fe1fa9d

Browse files
committed
Handle assets correctly in REPLs.
1 parent 5c4db95 commit fe1fa9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/LispKitTools/LispKitRepl.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ open class LispKitRepl {
231231

232232
open func setupBinaryBundle(root: URL) -> Bool {
233233
_ = self.context?.fileHandler.prependSearchPath(root.path)
234-
_ = self.context?.fileHandler.prependAssetSearchPath(root.path)
234+
_ = self.context?.fileHandler.prependAssetSearchPath(root
235+
.appendingPathComponent("Assets", isDirectory: true).path)
235236
_ = self.context?.fileHandler.prependLibrarySearchPath(root
236237
.appendingPathComponent("Libraries", isDirectory: true).path)
237238
if !self.prelude.wasSet {

0 commit comments

Comments
 (0)