MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / getBranches

Function getBranches

dev/update-editor-output-repos.js:72–80  ·  view source on GitHub ↗
(onlineEditor, projectType)

Source from the content-addressed store, hash-verified

70 * branch for an editor as well as the tagged version.
71 */
72 let getBranches = (onlineEditor, projectType) => {
73 let editorBranch = `${onlineEditor}-${projectType}-output${branchSuffix}`;
74
75 if (isLatest) {
76 return [editorBranch, `${editorBranch}-v${version}`];
77 }
78
79 return [`${editorBranch}-v${version}`];
80 };
81
82 let name = command === 'new' ? 'my-app' : 'my-addon';
83 let projectType = command === 'new' ? 'app' : 'addon';

Callers 1

determineOutputsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…