Skip to content

Commit 3007062

Browse files
Merge pull request #20 from SwiftPackageIndex/remove-workaround
Revert "Merge pull request #19 from SwiftPackageIndex/hang-workaround"
2 parents a335f12 + bf4f253 commit 3007062

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

Sources/DocUploadBundle/DocUploadBundle.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ import Zip
2020

2121
public struct DocUploadBundle {
2222

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

3025
public struct S3Folder: Codable, Equatable {
3126
public var bucket: String

Sources/DocUploader/DocReport.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ import NIOHTTP1
2222

2323
enum DocReport {
2424

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

3227
enum Status: String, Codable {
3328
case ok

0 commit comments

Comments
 (0)