Skip to content

Commit

Permalink
quickfix for ProcessInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepistrol committed Oct 11, 2023
1 parent 8e6e84a commit a0f2eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/SwiftLint/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import PackagePlugin
@main
struct SwiftLintPlugin: BuildToolPlugin {
func createBuildCommands(context: PluginContext, target: Target) async throws -> [Command] {
if ProcessInfo().environment["DISABLE_SWIFTLINT"] != nil {
if ProcessInfo.processInfo.environment["DISABLE_SWIFTLINT"] != nil {
return []
}
return [
Expand Down

0 comments on commit a0f2eda

Please sign in to comment.