don't return a version in case none is found

This commit is contained in:
silverwind 2018-07-16 22:24:13 +02:00
parent 5d7c80e9a4
commit 700827aa2f
Signed by: silverwind
GPG Key ID: 2E62B41C93869443

@ -250,5 +250,5 @@ function findHighestVersion(versions) {
highest = parsed.version;
}
}
return highest;
return highest === "0.0.0" ? null : highest;
}