Skip to content

Commit

Permalink
fix: Fix swiftlint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Kistler committed Apr 15, 2019
1 parent 2727b3f commit 9b12dba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Source/SpeechToTextV1/WebSockets/RecognizeCallback.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import Foundation
public struct RecognizeCallback {
/// Allows you to set up callback in application to use microphone streaming results.
public init() {

}

/// Invoked when transcription results are received for a recognition request.
Expand Down
2 changes: 1 addition & 1 deletion Source/VisualRecognitionV3/VisualRecognition+CoreML.swift
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ extension VisualRecognition {
} else {
classifiedImages = nil
}
var error: WatsonError? = nil
var error: WatsonError?
if !errors.isEmpty {
error = WatsonError.other(message: "Local classification failed: \(errors[0].localizedDescription)", metadata: nil)
}
Expand Down

0 comments on commit 9b12dba

Please sign in to comment.