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

Function _commit

lib/models/blueprint.js:382–390  ·  view source on GitHub ↗

Calls an action. @private @method _commit @param {Object} result @return {Promise} @throws {Error} Action doesn't exist.

(result)

Source from the content-addressed store, hash-verified

380 @throws {Error} Action doesn't exist.
381 */
382 _commit(result) {
383 let action = this._actions[result.action];
384
385 if (action) {
386 return action.call(this, result);
387 } else {
388 throw new Error(`Tried to call action "${result.action}" but it does not exist`);
389 }
390 },
391
392 /**
393 Prints warning for pod unsupported.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…