1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-12-23 03:40:08 +01:00

👌 Improve logic in InternalSwitcher

This commit is contained in:
2023-02-26 15:25:06 +01:00
parent 98fcb686bf
commit bc22129399

View File

@@ -126,7 +126,6 @@ class InternalSwitcher: PhpSwitcher {
if Valet.installed { if Valet.installed {
await brew("services start \(formula)", sudo: true) await brew("services start \(formula)", sudo: true)
}
if Valet.enabled(feature: .isolatedSites) && primary { if Valet.enabled(feature: .isolatedSites) && primary {
let socketVersion = version.replacingOccurrences(of: ".", with: "") let socketVersion = version.replacingOccurrences(of: ".", with: "")
@@ -135,3 +134,4 @@ class InternalSwitcher: PhpSwitcher {
} }
} }
} }
}