Skip to content

Commit d81a87e

Browse files
committed
Fix inconsistent error message in book requirements check, fix #287
1 parent 2901fc3 commit d81a87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/reqs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func CheckRequirements() (bool, error) {
8181
terminal.Printfln("<info>[OK]</> PHP installed version %s (%s)", v.FullVersion, v.PHPPath)
8282
} else {
8383
ready = false
84-
terminal.Printfln("<error>[KO]</> PHP installed; version %s found but we need version 7.2.5+ (%s)", v.FullVersion, v.PHPPath)
84+
terminal.Printfln("<error>[KO]</> PHP installed; version %s found but we need version %s+ (%s)", v.FullVersion, minv.String(), v.PHPPath)
8585
}
8686
}
8787

0 commit comments

Comments
 (0)