mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-04-03 18:00:10 +02:00
🐛 Fix version parsing (#227)
This commit is contained in:
@@ -242,7 +242,7 @@ class Startup {
|
|||||||
.components(separatedBy: "Laravel Valet")[1]
|
.components(separatedBy: "Laravel Valet")[1]
|
||||||
.trimmingCharacters(in: .whitespaces)
|
.trimmingCharacters(in: .whitespaces)
|
||||||
// Extract the version number
|
// Extract the version number
|
||||||
Valet.shared.version = try! VersionNumber.parse(VersionExtractor.from(output)!)
|
Valet.shared.version = try! VersionNumber.parse(VersionExtractor.from(versionString)!)
|
||||||
// Get the actual version
|
// Get the actual version
|
||||||
return Valet.shared.version == nil
|
return Valet.shared.version == nil
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user