Skip to content

Commit

Permalink
Try using #filePath instead of #file for SwiftLint
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Apr 18, 2024
1 parent 8fa5185 commit 170ca07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ let package = Package(
)

func loadSwiftLintVersion() -> Version {
let swiftLintConfigURL = URL(fileURLWithPath: #file)
let swiftLintConfigURL = URL(fileURLWithPath: #filePath)
.deletingLastPathComponent()
.appendingPathComponent(".swiftlint.yml")

Expand Down

0 comments on commit 170ca07

Please sign in to comment.