{"push_id":1126199785,"size":1,"distinct_size":1,"ref":"refs/heads/fix-impeative-assignment-warning","head":"dd2295041f9d8c6d6568a67f6cf322cf92939c5b","before":"cc383be2e6cceb003af02e5e29d4442fa93aed35","commits":[{"sha":"dd2295041f9d8c6d6568a67f6cf322cf92939c5b","author":{"email":"d0eeec95a7aec5655966ec2ebd2cba997d670861@gmail.com","name":"Eugene Pirogov"},"message":"Fix imperative assignment warning\n\nThese should be gone now:\n\n```\nwarning: the variable \"key_len\" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:\n\n    case int do\n      1 -> atom = :one\n      2 -> atom = :two\n    end\n\nshould be written as\n\n    atom =\n      case int do\n        1 -> :one\n        2 -> :two\n      end\n\nUnsafe variable found at:\n  lib/comeonin/bcrypt.ex:171\n\nwarning: the variable \"key_len\" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:\n\n    case int do\n      1 -> atom = :one\n      2 -> atom = :two\n    end\n\nshould be written as\n\n    atom =\n      case int do\n        1 -> :one\n        2 -> :two\n      end\n\nUnsafe variable found at:\n  lib/comeonin/bcrypt.ex:172\n```","distinct":true,"url":"https://api.github.com/repos/gmile/comeonin/commits/dd2295041f9d8c6d6568a67f6cf322cf92939c5b"}]}
{"actor":{"display_login":"gmile"}}