Corrected version string generation with empty suffix
parent
744696b1a7
commit
10d653825a
|
@ -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( /-$/, '' );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue