Fix version detection

main
Elbert Alias 7 years ago
parent ef0d8ad593
commit aad0efe030

@ -514,7 +514,7 @@ function addDetected(app, pattern, type, value, key) {
if ( versions.length ) {
// Use the longest detected version number
app.version = versions.reduce((a, b) => a.length > b.length ? a : b)[0];
app.version = versions.reduce((a, b) => a.length > b.length ? a : b);
}
}
}

Loading…
Cancel
Save