From ecca1f28032081994d5ccefceb630509934a6de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Sun, 14 Jun 2020 22:05:57 +0200 Subject: [PATCH] Fix tests on Linux --- Sources/AnyLint/Checkers/TemplateChecker.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/AnyLint/Checkers/TemplateChecker.swift b/Sources/AnyLint/Checkers/TemplateChecker.swift index 8a15478..3637294 100644 --- a/Sources/AnyLint/Checkers/TemplateChecker.swift +++ b/Sources/AnyLint/Checkers/TemplateChecker.swift @@ -1,5 +1,8 @@ import Foundation import Utility +#if canImport(FoundationNetworking) +import FoundationNetworking +#endif /// The source of the subchecks to run. public enum CheckSource {