Skip to content

Commit ce6261f

Browse files
committed
Fix linter
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
1 parent 144b31e commit ce6261f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Nats/NatsConnection.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ class ConnectionHandler: ChannelInboundHandler {
357357
guard let nkeyContent = String(data: nkeyData, encoding: .utf8) else {
358358
throw NatsConfigError("failed to read NKEY file")
359359
}
360-
let keypair = try KeyPair(seed: nkeyContent.trimmingCharacters(in: .whitespacesAndNewlines))
360+
let keypair = try KeyPair(seed: nkeyContent
361+
.trimmingCharacters(in: .whitespacesAndNewlines))
361362
guard let nonce = self.serverInfo?.nonce else {
362363
throw NatsConfigError("missing nonce")
363364
}

0 commit comments

Comments
 (0)