Skip to content

Commit

Permalink
Fix warning deprecated voidPromise() function in Promise.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
malcommac committed Jul 22, 2020
1 parent c63f54f commit f4ad46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Hydra/Promise.swift
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public class Promise<Value> {


/// Transform given promise to a void promise.
@available(*, deprecated: 0.9.8, message: "Use .void var instead")
@available(*, deprecated, message: "Use .void var instead")
public func voidPromise() -> Promise<Void> {
return self.then { _ in
return ()
Expand Down

0 comments on commit f4ad46e

Please sign in to comment.