Skip to content

Commit

Permalink
fixing linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed May 6, 2024
1 parent 087a3b5 commit b606e33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ opt_in_rules:
- legacy_random
- literal_expression_end_indentation
- lower_acl_than_parent
- missing_docs
#- missing_docs
- modifier_order
- multiline_arguments
- multiline_arguments_brackets
Expand Down
4 changes: 4 additions & 0 deletions Sources/AviaryInsights/Plausible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ import Foundation
import OpenAPIRuntime
import OpenAPIURLSession

#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

public struct Plausible {
// swiftlint:disable:next force_try
public static let defaultServerURL = try! Servers.server1()
Expand Down

0 comments on commit b606e33

Please sign in to comment.