lib/utils/win-releases.js
function hashPrerelease(s) {
    if (_.isString(s[0])) {
        return (_.indexOf(CHANNELS, s[0]) + 1) * CHANNEL_MAGINITUDE + (s[1] || 0);
    } else {
        return s[0];
    }
}
function hashPrerelease(s) {
    if (_.isString(s[0])) {
        return (_.indexOf(CHANNELS, s[0]) + 1) * CHANNEL_MAGINITUDE + (s[1] || 0);
    } else {
        return s[0];
    }
}
function hashPrerelease ( s ) { if ( _ . isString ( s [ 0 ] ) ) { return ( _ . indexOf ( CHANNELS , s [ 0 ] ) + 1 ) * CHANNEL_MAGINITUDE + ( s [ 1 ] || 0 ) ; } else { return s [ 0 ] ; } }
Hash a prerelease
Hash a prerelease