Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bidoubiwa committed Feb 8, 2022
1 parent e5fafce commit dd00e73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/MeiliSearch/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct Constants {
return encoder
}()

static func resultDecoder<T: Decodable>(data: Data?) throws -> Result<T, Swift.Error> {
static func resultDecoder<T: Decodable>(data: Data?) throws -> Result<T, Swift.Error> {
guard let data: Data = data else {
return .failure(MeiliSearch.Error.dataNotFound)
}
Expand Down
2 changes: 0 additions & 2 deletions Sources/MeiliSearch/Tasks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ struct Tasks {
}
}



// wait for task using task structure
func waitForTask(
task: Task,
Expand Down

0 comments on commit dd00e73

Please sign in to comment.