Returns whether an addon should be added to the project @private @method shouldIncludeAddon @param {Addon} addon @return {Boolean}
(addon)
| 427 | @return {Boolean} |
| 428 | */ |
| 429 | shouldIncludeAddon(addon) { |
| 430 | if (!this._addonEnabled(addon)) { |
| 431 | return false; |
| 432 | } |
| 433 | |
| 434 | return !this._addonDisabledByExclude(addon) && !this._addonDisabledByInclude(addon); |
| 435 | } |
| 436 | |
| 437 | /** |
| 438 | Calls the included hook on addons. |
no test coverage detected