Skip to content

Commit

Permalink
fix missing canImport(Combine)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian committed Nov 13, 2020
1 parent e2a0b1f commit 3bd7bf2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Siesta/Resource/Resource+Combine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ extension RequestError.Cause

// MARK: - Requests

#if canImport(Combine)

@available(iOS 13, tvOS 13, OSX 10.15, watchOS 6.0, *)
extension Resource
{
Expand Down Expand Up @@ -284,3 +286,5 @@ extension Request
.eraseToAnyPublisher()
}
}
#endif

0 comments on commit 3bd7bf2

Please sign in to comment.