The prior implementation was checking count without incrementing it, and the implementation which wanted to log the limit message on the 100th message was logging it on the 101st. Additionally, the check for presence of the option.id was not correct.
The prior implementation was checking
count
without incrementing it, and the implementation which wanted to log the limit message on the 100th message was logging it on the 101st. Additionally, the check for presence of the option.id was not correct.Extracted from https://github.com/mixonic/ember-cli-deprecation-workflow/pull/118