Skip to content

Commit 99d591a

Browse files
authored
Update tool versions (#744)
1 parent d5194a1 commit 99d591a

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.evergreen/install-tools.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ install_from_gh () {
3535

3636
if [ $1 == "swiftlint" ]
3737
then
38-
build_from_gh swiftlint https://github.com/realm/SwiftLint "0.45.0"
38+
build_from_gh swiftlint https://github.com/realm/SwiftLint "0.46.3"
3939
elif [ $1 == "swiftformat" ]
4040
then
41-
build_from_gh swiftformat https://github.com/nicklockwood/SwiftFormat "0.48.11"
41+
build_from_gh swiftformat https://github.com/nicklockwood/SwiftFormat "0.49.4"
4242
elif [ $1 == "sourcery" ]
4343
then
44-
install_from_gh sourcery https://github.com/krzysztofzablocki/Sourcery/releases/download/1.6.0/Sourcery-1.6.0.zip
44+
install_from_gh sourcery https://github.com/krzysztofzablocki/Sourcery/releases/download/1.6.1/Sourcery-1.6.1.zip
4545
else
4646
echo Missing/unknown install option: "$1"
4747
fi

Examples/KituraExample/Sources/KituraExample/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let router: Router = {
2525
/// `Kitten` from the collection. `MongoCollection` is safe to share across threads.
2626
let collection = mongoClient.db("home").collection("kittens", withType: Kitten.self)
2727

28-
router.get("kittens") { _, response, next -> Void in
28+
router.get("kittens") { _, response, next in
2929
let res = collection.find().flatMap { cursor in
3030
cursor.toArray()
3131
}

Tests/MongoSwiftTests/AsyncAwaitTestUtils.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ extension MongoSwiftTestCase {
6666
return try await f(client)
6767
}
6868

69-
// swiftlint:disable large_tuple
70-
// see: https://github.com/realm/SwiftLint/issues/3753
7169
internal func withTestNamespace<T>(
7270
ns: MongoNamespace? = nil,
7371
clientOptions: MongoClientOptions? = nil,

0 commit comments

Comments
 (0)