Skip to content

Commit 8991f6d

Browse files
authored
Require macOS 12 (#59)
And fix deprecation warning.
1 parent 00c5b69 commit 8991f6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PackageDescription
55
let package = Package(
66
name: "swift-package-collection-generator",
77
// Required for JSONEncoder/Decoder formatting and ISO-8601 support
8-
platforms: [.macOS("10.15.4")],
8+
platforms: [.macOS(.v12)],
99
products: [
1010
.executable(name: "package-collection-generate", targets: ["PackageCollectionGenerator"]),
1111
.executable(name: "package-collection-sign", targets: ["PackageCollectionSigner"]),

Sources/Utilities/Logging.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the Swift Package Collection Generator open source project
44
//
5-
// Copyright (c) 2020 Apple Inc. and the Swift Package Collection Generator project authors
5+
// Copyright (c) 2020-2023 Apple Inc. and the Swift Package Collection Generator project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
@@ -52,7 +52,7 @@ private final class InteractiveWriter {
5252
term.write(string, inColor: color, bold: bold)
5353
term.endLine()
5454
} else {
55-
self.stream <<< string
55+
self.stream.send(string)
5656
self.stream.flush()
5757
}
5858
}

0 commit comments

Comments
 (0)