1
0
Fork 0

Corrected version string generation with empty suffix

perfodd
Mike Gerwitz 2014-03-15 23:57:02 -04:00
parent 744696b1a7
commit 10d653825a
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ version.suffix = suffix;
version.toString = function() version.toString = function()
{ {
return this.join( '.' ) return this.join( '.' )
.replace( /\.([^.]+)$/, '-$1' ) .replace( /\.([^.]*)$/, '-$1' )
.replace( /-$/, '' ); .replace( /-$/, '' );
}; };