MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / shouldIncludeAddon

Method shouldIncludeAddon

lib/broccoli/ember-app.js:429–435  ·  view source on GitHub ↗

Returns whether an addon should be added to the project @private @method shouldIncludeAddon @param {Addon} addon @return {Boolean}

(addon)

Source from the content-addressed store, hash-verified

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.

Callers 2

_notifyAddonIncludedMethod · 0.95

Calls 3

_addonEnabledMethod · 0.95

Tested by

no test coverage detected