mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
a9b011ad4b
- if the threshold is Infinity, we shouldn't be loading the newsletter subscription events because we are saying there is no threshold - the code has a quick path to avoid comparing the values, but it still loads the events upfront - this commit moves the quick path up to return earlier - this has the nice side-effect of producing 100% coverage on this package |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json |