From 77e83876b126232e89e61ce7d815c5b6ffdff8f4 Mon Sep 17 00:00:00 2001 From: leogdion Date: Thu, 8 Jun 2023 13:39:49 -0400 Subject: [PATCH] fixing linting (#2) --- Package.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 64a0fce..41e4767 100644 --- a/Package.swift +++ b/Package.swift @@ -10,7 +10,10 @@ let swiftSettings: [SwiftSetting] = [ .enableUpcomingFeature("ForwardTrailingClosures"), .enableUpcomingFeature("ImplicitOpenExistentials"), .enableUpcomingFeature("StrictConcurrency"), - .unsafeFlags(["-warn-concurrency", "-enable-actor-data-race-checks"]) + .unsafeFlags( + ["-warn-concurrency", "-enable-actor-data-race-checks"], + .when(configuration: .debug) + ) ] let package = Package(