Merge branch 'master' into sk-smarter-percentage-rollout

This commit is contained in:
Shane Kilkelly 2017-11-10 16:00:02 +00:00
commit 00f095da3c

View file

@ -29,7 +29,7 @@ crypto = require 'crypto'
module.exports = ProjectController =
_isInPercentageRollout: (rolloutName, objectId, percentage) ->
if Settings.bypassPercentageRollouts = true
if Settings.bypassPercentageRollouts == true
return true
data = "#{rolloutName}:#{objectId.toString()}"
md5hash = crypto.createHash('md5').update(data).digest('hex')