MCPcopy Index your code
hub / github.com/meteor/meteor / _addSourceProcessorHelper

Method _addSourceProcessorHelper

tools/isobuild/build-plugin.js:115–132  ·  view source on GitHub ↗
(sp, things, byThing, errorPrefix)

Source from the content-addressed store, hash-verified

113 this.allSourceProcessors.push(sp);
114 }
115 _addSourceProcessorHelper(sp, things, byThing, errorPrefix) {
116 buildmessage.assertInJob();
117
118 things.forEach((thing) => {
119 if (byThing.hasOwnProperty(thing)) {
120 if (this._allowConflicts) {
121 byThing[thing].push(sp);
122 } else {
123 this._conflictError(sp.isopack.displayName(),
124 byThing[thing][0].isopack.displayName(),
125 errorPrefix + thing);
126 // recover by ignoring this one
127 }
128 } else {
129 byThing[thing] = [sp];
130 }
131 });
132 }
133
134 addLegacyHandler({ extension, handler, packageDisplayName, isTemplate,
135 archMatching }) {

Callers 1

addSourceProcessorMethod · 0.95

Calls 3

_conflictErrorMethod · 0.95
forEachMethod · 0.45
displayNameMethod · 0.45

Tested by

no test coverage detected