Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksrutins committed Apr 16, 2022
1 parent 8134d59 commit b3b0366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Graphaello/Commands/checkVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ private struct HomebrewInfo: Decodable {

private func fetchInstalledVersion() -> String? {
let task = Process()
task.launchPath = "/usr/local/bin/brew"
task.launchPath = try? ExecutableFinder.find("brew")?.url.path
task.arguments = ["info", "graphaello", "--json"]

let outputPipe = Pipe()
Expand Down

0 comments on commit b3b0366

Please sign in to comment.