Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Commit

Permalink
Fix indendentation of if statement
Browse files Browse the repository at this point in the history
Per code review by @arnau
  • Loading branch information
Aaron McTavish committed Feb 20, 2017
1 parent 2ce0784 commit 2847e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GitHubKit/Networking/NetworkError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extension NetworkError {
case .unauthorized:
return "Not authorized"
case let .unknown(error):
if let localError = error as? LocalizedError,
if let localError = error as? LocalizedError,
let description = localError.errorDescription {

return "Unknown Error: " + description
Expand Down

0 comments on commit 2847e89

Please sign in to comment.