File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Examples/KituraExample/Sources/KituraExample Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ install_from_gh () {
35
35
36
36
if [ $1 == " swiftlint" ]
37
37
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 "
39
39
elif [ $1 == " swiftformat" ]
40
40
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 "
42
42
elif [ $1 == " sourcery" ]
43
43
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
45
45
else
46
46
echo Missing/unknown install option: " $1 "
47
47
fi
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ let router: Router = {
25
25
/// `Kitten` from the collection. `MongoCollection` is safe to share across threads.
26
26
let collection = mongoClient. db ( " home " ) . collection ( " kittens " , withType: Kitten . self)
27
27
28
- router. get ( " kittens " ) { _, response, next -> Void in
28
+ router. get ( " kittens " ) { _, response, next in
29
29
let res = collection. find ( ) . flatMap { cursor in
30
30
cursor. toArray ( )
31
31
}
Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ extension MongoSwiftTestCase {
66
66
return try await f ( client)
67
67
}
68
68
69
- // swiftlint:disable large_tuple
70
- // see: https://github.com/realm/SwiftLint/issues/3753
71
69
internal func withTestNamespace< T> (
72
70
ns: MongoNamespace ? = nil ,
73
71
clientOptions: MongoClientOptions ? = nil ,
You can’t perform that action at this time.
0 commit comments