MCPcopy Create free account
hub / github.com/adaptlearning/adapt_framework / load

Method load

grunt/helpers/Plugins.js:58–73  ·  view source on GitHub ↗

@returns {Plugins}

()

Source from the content-addressed store, hash-verified

56
57 /** @returns {Plugins} */
58 load() {
59 this.plugins = globs.sync(this.pluginLocations).map(sourcePath => {
60 if (!this.includedFilter(sourcePath)) {
61 return;
62 }
63 const plugin = new Plugin({
64 framework: this.framework,
65 sourcePath,
66 log: this.log,
67 warn: this.warn
68 });
69 plugin.load();
70 return plugin;
71 }).filter(Boolean);
72 return this;
73 }
74
75 /** @returns {JSONFileItem} */
76 getAllPackageJSONFileItems() {

Callers 1

getPluginsMethod · 0.95

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected