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:
@@ -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 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user