diff --git a/Sources/ArenaCore/ArenaCommand.swift b/Sources/ArenaCore/ArenaCommand.swift index 1760225..235c5ea 100644 --- a/Sources/ArenaCore/ArenaCommand.swift +++ b/Sources/ArenaCore/ArenaCommand.swift @@ -202,9 +202,9 @@ extension Arena { // find libraries packageInfo = Array( zip(dependencies, - dependencies.compactMap { + try dependencies.compactMap { $0.path ?? $0.checkoutDir(projectDir: projectPath) - }.compactMap { try? getPackageInfo(for: $0) } ) + }.compactMap { try getPackageInfo(for: $0) } ) ) let libs = packageInfo.flatMap { $0.1.libraries } if libs.isEmpty { throw ArenaError.noLibrariesFound }