7121efb010
refs https://github.com/TryGhost/Team/issues/728 - This is continuation of the previous commit. TLDR: Passing only the necessary parameter data makes it easier to reason about what dependencies the UpdateCheckService has to deal with - Instead of passing in a whole GhostMailer instance passing only an email sending function, which again - makes things way more manageable to reason about - The end of refactor, next will be a move of the UpdateCheckService into a separate module in tryghost/core |
||
---|---|---|
.. | ||
update-check-service.js |