From 31a755dd49bde1d57db994d71e9c2d87b24e89cc Mon Sep 17 00:00:00 2001 From: Matt Rubin Date: Fri, 21 Sep 2018 02:05:58 -0400 Subject: [PATCH] [Lint] Arguments should be either all on the same line, or one per line --- .swiftlint.yml | 1 + SwiftGit2/Repository.swift | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 059e212..affaaaf 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -17,6 +17,7 @@ opt_in_rules: - first_where - implicitly_unwrapped_optional - modifier_order + - multiline_arguments - overridden_super_call - private_outlet - prohibited_super_call diff --git a/SwiftGit2/Repository.swift b/SwiftGit2/Repository.swift index edb95b2..9be6edb 100644 --- a/SwiftGit2/Repository.swift +++ b/SwiftGit2/Repository.swift @@ -152,7 +152,8 @@ public final class Repository { credentials: Credentials = .default, checkoutStrategy: CheckoutStrategy = .Safe, checkoutProgress: CheckoutProgressBlock? = nil) -> Result { var options = cloneOptions( - bare: bare, localClone: localClone, + bare: bare, + localClone: localClone, fetchOptions: fetchOptions(credentials: credentials), checkoutOptions: checkoutOptions(strategy: checkoutStrategy, progress: checkoutProgress))