Skip to content

Commit 79f5ae3

Browse files
authored
Fix warnings about extraneous whitespace on @Availability. (#481)
The build is generating warnings about extra space after `@availability` and before the `(`. rdar://133952407
1 parent a76104d commit 79f5ae3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/TSCUtility/Netrc.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension AuthorizationProviding {
2525
/// Container of parsed netrc connection settings
2626
// FIXME: deprecate 2/2022, remove once clients transitioned
2727
@available(*, deprecated, message: "moved to SwiftPM")
28-
@available (macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
28+
@available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
2929
public struct Netrc {
3030
/// Representation of `machine` connection settings & `default` connection settings.
3131
/// If `default` connection settings present, they will be last element.
@@ -97,12 +97,12 @@ public struct Netrc {
9797

9898
// deprecated 9/2021
9999
@available(*, deprecated)
100-
@available (macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
100+
@available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
101101
extension Netrc: AuthorizationProviding {}
102102

103103
// FIXME: deprecate 2/2022, remove once clients transitioned
104104
@available(*, deprecated, message: "moved to SwiftPM")
105-
@available (macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
105+
@available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
106106
public extension Netrc {
107107
enum Error: Swift.Error {
108108
case invalidFilePath
@@ -142,7 +142,7 @@ public extension Netrc {
142142

143143
// FIXME: deprecate 2/2022, remove once clients transitioned
144144
@available(*, deprecated, message: "moved to SwiftPM")
145-
@available (macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
145+
@available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
146146
extension Netrc.Error: CustomNSError {
147147
public var errorUserInfo: [String : Any] {
148148
return [NSLocalizedDescriptionKey: "\(self)"]
@@ -151,7 +151,7 @@ extension Netrc.Error: CustomNSError {
151151

152152
// FIXME: deprecate 2/2022, remove once clients transitioned
153153
@available(*, deprecated, message: "moved to SwiftPM")
154-
@available (macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
154+
@available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
155155
fileprivate enum RegexUtil {
156156
@frozen fileprivate enum Token: String, CaseIterable {
157157
case machine, login, password, account, macdef, `default`

0 commit comments

Comments
 (0)