This commit is contained in:
Earl Cahill
2016-02-06 00:21:01 -07:00
parent 4e479599a7
commit 7c3e5aefcd
3 changed files with 5 additions and 5 deletions

View File

@ -60,7 +60,7 @@ function getVersionFromES(done) {
* Transform x.x.x into xxx.xxx.xxx, striping off any text at the end like beta or pre-alpha35
*
* @param {String} version - Version number represented as a string
* @return {String} - Version number represented as three numbers, seperated by -, all numbers are
* @return {String} - Version number represented as three numbers, separated by -, all numbers are
* padded with 0 and will be three characters long so the strings can be compared.
*/
function versionToComparableString(version, def) {
@ -84,7 +84,7 @@ function versionToComparableString(version, def) {
* Compare a version range to the ES_VERSION, determining if the current version
* falls within the range.
*
* @param {String} rangeString - a string representing two version numbers seperated by a "-"
* @param {String} rangeString - a string representing two version numbers separated by a "-"
* @return {Boolean} - is the current version within the range (inclusive)
*/
function rangeMatchesCurrentVersion(rangeString, done) {