Skip to content

Commit

Permalink
Swiftlint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BobElDevil committed Oct 27, 2017
1 parent 63afb0e commit 1dfe925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/CarthageKit/NewResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public struct NewResolver: ResolverProtocol {
withParent parentNode: DependencyNode?
) -> Result<NodePermutations, CarthageError> {
return SignalProducer<(key: Dependency, value: VersionSpecifier), CarthageError>(dependencies)
.flatMap(.concat) { (dependency, specifier) -> SignalProducer<[DependencyNode], CarthageError> in
.flatMap(.concat) { dependency, specifier -> SignalProducer<[DependencyNode], CarthageError> in
let versionProducer: SignalProducer<PinnedVersion, CarthageError>
if case let .gitReference(refName) = specifier {
versionProducer = self.resolvedGitReference(dependency, refName)
Expand Down Expand Up @@ -131,7 +131,7 @@ public struct NewResolver: ResolverProtocol {
}

return self.dependenciesForDependency(node.dependency, node.proposedVersion)
.attempt { (child, newSpecifier) -> Result<(), CarthageError> in
.attempt { child, newSpecifier -> Result<(), CarthageError> in
// If we haven't added this dependency yet, succeed
guard let existingChildNode = graph.node(for: child) else {
return .success(())
Expand Down

0 comments on commit 1dfe925

Please sign in to comment.