Skip to content

[SE-0121] remove more uses of optional < operator #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

jtbandes
Copy link
Contributor

@jtbandes jtbandes commented Jul 21, 2016

Missed some in #515. cc @ddunbar (for swiftlang/swift#3637)

@@ -57,7 +57,7 @@ public class GitRepositoryProvider: RepositoryProvider {
environment: env, message: "Cloning \(repository.url)")
} catch POSIX.Error.exitStatus {
// Git 2.0 or higher is required
if Git.majorVersionNumber < 2 {
if let majorVersion = Git.majorVersionNumber, majorVersion < 2 { {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that looks like extraneous {?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. Thanks.

@ddunbar ddunbar merged commit 405c296 into swiftlang:master Jul 21, 2016
@jtbandes jtbandes deleted the se-0121 branch July 21, 2016 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants