Skip to content

Commit

Permalink
no Self.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed Sep 2, 2024
1 parent 20c525c commit 5b45ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/SafeDIGenerator/SafeDIGenerateDependencyTree.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ struct SafeDIGenerateDependencyTree: BuildToolPlugin {

let armMacBrewInstallLocation = "/opt/homebrew/bin/safeditool"
let intelMacBrewInstallLocation = "/usr/local/bin/safeditool"
let toolLocation: PackagePlugin.Path = if FileManager.default.fileExists(atPath: Self.armMacBrewInstallLocation) {
let toolLocation: PackagePlugin.Path = if FileManager.default.fileExists(atPath: armMacBrewInstallLocation) {
// SafeDITool has been installed via homebrew on an ARM Mac.
PackagePlugin.Path(Self.armMacBrewInstallLocation)
} else if FileManager.default.fileExists(atPath: Self.intelMacBrewInstallLocation) {
} else if FileManager.default.fileExists(atPath: intelMacBrewInstallLocation) {
// SafeDITool has been installed via homebrew on an Intel Mac.
PackagePlugin.Path(Self.intelMacBrewInstallLocation)
} else {
Expand Down

0 comments on commit 5b45ac0

Please sign in to comment.