Skip to content

Commit e4f2d35

Browse files
committed
Remove from WASM build
1 parent 811612c commit e4f2d35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/AcknowList/GitHubAPI.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import Foundation
2626
import FoundationNetworking
2727
#endif
2828

29+
#if !os(WASI)
2930
/// An object that interacts with the GitHub API.
3031
open class GitHubAPI {
3132

@@ -79,3 +80,4 @@ open class GitHubAPI {
7980
return repository.path.replacingOccurrences(of: ".git", with: "")
8081
}
8182
}
83+
#endif

0 commit comments

Comments
 (0)