Skip to content

Commit 33480ba

Browse files
authored
chore: lint and minor cleanup (#303)
1 parent f7abe54 commit 33480ba

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Packages/ClientRuntime/Sources/Networking/Streaming/StreamReader.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public protocol StreamReader: AnyObject {
1111
var availableForRead: UInt { get }
1212
var hasFinishedWriting: Bool {get set}
1313

14-
///Read up to a maximum number of bytes on a stream that is opened..
15-
///WARNING: Be careful as this will read the entire byte stream into memory (up to limit).
14+
/// Read up to a maximum number of bytes on a stream that is opened..
15+
/// WARNING: Be careful as this will read the entire byte stream into memory (up to limit).
1616
func read(maxBytes: UInt?) -> ByteBuffer
1717
func seek(offset: Int)
1818
func onError(error: ClientError)

Packages/ClientRuntime/Sources/PrimitiveTypeExtensions/String+Extensions.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
55

6-
//import Foundation
76
import AwsCommonRuntimeKit
87

98
extension StringProtocol where Self.Index == String.Index {

smithy-swift-codegen-test/smithy-build.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"author": "Amazon Web Services",
1010
"sdkId": "Weather",
1111
"homepage": "https://docs.amplify.aws/",
12-
"swiftVersion": "5.4.0",
13-
"shouldGenerateUnitTestTarget": true
12+
"swiftVersion": "5.4.0"
1413
}
1514
}
1615
}

0 commit comments

Comments
 (0)