Skip to content

Commit

Permalink
Update compiler version check for custom file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Nov 5, 2024
1 parent cbdbb39 commit 145d03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Zip/Zip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Foundation
/// Main class that handles zipping and unzipping of files.
public class Zip {
// Set of vaild file extensions
#if compiler(>=6.0)
#if compiler(>=5.10)
nonisolated(unsafe) private static var customFileExtensions: Set<String> = []
#else
private static var customFileExtensions: Set<String> = []
Expand Down

0 comments on commit 145d03d

Please sign in to comment.