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

Function normalizeEntityName

packages/addon-blueprint/index.js:301–309  ·  view source on GitHub ↗
(entityName)

Source from the content-addressed store, hash-verified

299 },
300
301 normalizeEntityName(entityName) {
302 entityName = normalizeEntityName(entityName);
303
304 if (this.project.isEmberCLIProject() && !this.project.isEmberCLIAddon()) {
305 throw new SilentError('Generating an addon in an existing ember-cli project is not supported.');
306 }
307
308 return entityName;
309 },
310
311 srcPath(file) {
312 let path = `${this.path}/files/${file}`;

Callers

nothing calls this directly

Calls 2

isEmberCLIProjectMethod · 0.80
isEmberCLIAddonMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…