mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-11-08 05:30:05 +01:00
📝 Added TODO comments
This commit is contained in:
@@ -31,6 +31,7 @@ class InternalSwitcher: PhpSwitcher {
|
||||
}
|
||||
|
||||
var versions: Set<String> = []
|
||||
// TODO: Do not use isolation if on Valet 2.x
|
||||
versions = versions.union(isolated)
|
||||
versions = versions.union([version])
|
||||
|
||||
@@ -79,6 +80,8 @@ class InternalSwitcher: PhpSwitcher {
|
||||
}
|
||||
|
||||
brew("services start \(formula)", sudo: true)
|
||||
|
||||
// TODO: Symlink might not need to be created if Valet 2.x
|
||||
let socketVersion = version.replacingOccurrences(of: ".", with: "")
|
||||
Shell.run("ln -sF ~/.config/valet/valet\(socketVersion).sock ~/.config/valet/valet.sock")
|
||||
Log.perf("Symlinked new socket version.")
|
||||
|
||||
Reference in New Issue
Block a user