Skip to content

Commit

Permalink
Merge pull request #45 from finestructure/log-loadManifest-error
Browse files Browse the repository at this point in the history
Pass through manifest processing error
  • Loading branch information
finestructure authored Mar 31, 2020
2 parents fd62982 + 3dd8ae0 commit ea260e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/ArenaCore/ArenaCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit ea260e1

Please sign in to comment.