File tree 1 file changed +11
-7
lines changed
1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -211,14 +211,9 @@ open class LispKitRepl {
211
211
return false
212
212
}
213
213
}
214
- // Inject root directories if provided via a command-line argument
215
- for root in self . roots. value {
216
- guard self . setupBinaryBundle ( root: URL ( fileURLWithPath: root, isDirectory: true ) ) else {
217
- return false
218
- }
219
- }
220
214
// Set up remaining file paths
221
- return self . setupPaths ( ) &&
215
+ return self . setupRootPaths ( ) &&
216
+ self . setupPaths ( ) &&
222
217
self . bootstrapContext ( ) &&
223
218
self . importLibraries ( initialLibraries) &&
224
219
self . loadPrelude ( )
@@ -237,6 +232,15 @@ open class LispKitRepl {
237
232
return true
238
233
}
239
234
235
+ open func setupRootPaths( ) -> Bool {
236
+ for root in self . roots. value {
237
+ guard self . setupBinaryBundle ( root: URL ( fileURLWithPath: root, isDirectory: true ) ) else {
238
+ return false
239
+ }
240
+ }
241
+ return true
242
+ }
243
+
240
244
open func setupPaths( ) -> Bool {
241
245
if let context = self . context {
242
246
for p in self . filePaths. value {
You can’t perform that action at this time.
0 commit comments