From 202dac4600f104c581ef792bd0b3d444da2ccc0b Mon Sep 17 00:00:00 2001 From: Syo Ikeda Date: Thu, 12 May 2016 08:56:26 +0900 Subject: [PATCH 1/2] Style fix --- Source/carthage/Bootstrap.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/carthage/Bootstrap.swift b/Source/carthage/Bootstrap.swift index 2e5c4a6955..632aa26206 100644 --- a/Source/carthage/Bootstrap.swift +++ b/Source/carthage/Bootstrap.swift @@ -40,8 +40,7 @@ public struct BootstrapCommand: CommandType { } return .empty } - } - else { + } else { checkDependencies = .empty } From 28c80bbdab0bbea376e6a92e8043d9e54ce3d2cd Mon Sep 17 00:00:00 2001 From: Syo Ikeda Date: Thu, 12 May 2016 08:59:43 +0900 Subject: [PATCH 2/2] Prefer documentation comment for CarthageError.UnresolvedDependencies --- Source/CarthageKit/Errors.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CarthageKit/Errors.swift b/Source/CarthageKit/Errors.swift index 8dcd2ab1f7..5c37f2eee0 100644 --- a/Source/CarthageKit/Errors.swift +++ b/Source/CarthageKit/Errors.swift @@ -31,7 +31,7 @@ public enum CarthageError: ErrorType, Equatable { /// a dependency. case RequiredVersionNotFound(ProjectIdentifier, VersionSpecifier) - // No entry could be found in Cartfile.resolved for a dependency with this name. + /// No entry could be found in Cartfile.resolved for a dependency with this name. case UnresolvedDependencies([String]) /// Failed to check out a repository.