Skip to content

Commit

Permalink
fix deprecated options
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepistrol committed Oct 31, 2022
1 parent 114f564 commit a3cc53c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Plugins/SwiftLint/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ struct SwiftLintPlugin: BuildToolPlugin {
executable: try context.tool(named: "swiftlint").path,
arguments: [
"lint",
"--in-process-sourcekit",
"--path",
target.directory.string,
"--config",
"\(context.package.directory.string)/.swiftlint.yml",
"--cache-path",
"\(context.pluginWorkDirectory.string)/cache"
"\(context.pluginWorkDirectory.string)/cache",
target.directory.string
],
environment: [:]
)
Expand All @@ -44,13 +42,11 @@ extension SwiftLintPlugin: XcodeBuildToolPlugin {
executable: try context.tool(named: "swiftlint").path,
arguments: [
"lint",
"--in-process-sourcekit",
"--path",
context.xcodeProject.directory.string,
"--config",
"\(context.xcodeProject.directory.string)/.swiftlint.yml",
"--cache-path",
"\(context.pluginWorkDirectory.string)/cache"
"\(context.pluginWorkDirectory.string)/cache",
context.xcodeProject.directory.string
],
environment: [:]
)
Expand Down

0 comments on commit a3cc53c

Please sign in to comment.