Skip to content

Commit

Permalink
Merge pull request #20 from SwiftPackageIndex/remove-workaround
Browse files Browse the repository at this point in the history
Revert "Merge pull request #19 from SwiftPackageIndex/hang-workaround"
  • Loading branch information
finestructure committed Mar 28, 2024
2 parents a335f12 + bf4f253 commit 3007062
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions Sources/DocUploadBundle/DocUploadBundle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ import Zip

public struct DocUploadBundle {

// Workaround for https://github.com/pointfreeco/swift-dependencies/issues/199
#if DEBUG
@Dependency(\.uuid) var uuid
#else
let uuid = { UUID() }
#endif

public struct S3Folder: Codable, Equatable {
public var bucket: String
Expand Down
5 changes: 0 additions & 5 deletions Sources/DocUploader/DocReport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ import NIOHTTP1

enum DocReport {

// Workaround for https://github.com/pointfreeco/swift-dependencies/issues/199
#if DEBUG
@Dependency(HTTPExecutor.self) static var httpClient: HTTPExecutor
#else
static let httpClient: HTTPExecutor = .live
#endif

enum Status: String, Codable {
case ok
Expand Down

0 comments on commit 3007062

Please sign in to comment.