Skip to content

Commit c6350cb

Browse files
🐛 Correctly load installed taps during startup
1 parent ee612c1 commit c6350cb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

phpmon/Domain/App/Startup.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ class Startup {
147147
descriptionText: "startup.errors.dyld_library.desc".localized
148148
),
149149
// =================================================================================
150-
// Make sure we can get valid output from Homebrew's info command.
150+
// Make sure we can get valid output from Homebrew's `info` command.
151151
// =================================================================================
152152
EnvironmentCheck(
153153
command: { container in
154154
// first, verify the taps
155-
await BrewDiagnostics.shared.verifyThirdPartyTaps()
155+
await BrewDiagnostics.shared.loadInstalledTaps()
156156
// then, check the Homebrew information
157157
await container.phpEnvs.getHomebrewInformation()
158158
return container.phpEnvs.homebrewPackage == nil

phpmon/Domain/Menu/MainMenu+Startup.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ extension MainMenu {
5353
// Validate the Homebrew version (determines install/upgrade functionality)
5454
await Brew.shared.determineVersion()
5555

56+
// Verify third party taps (will display as warning)
57+
await BrewDiagnostics.shared.verifyThirdPartyTaps()
58+
5659
// Actually detect the PHP versions
5760
await container.phpEnvs.reloadPhpVersions()
5861

0 commit comments

Comments
 (0)