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

Method configPath

lib/models/project.js:214–222  ·  view source on GitHub ↗

Returns the path to the configuration. @private @method configPath @return {String} Configuration path

()

Source from the content-addressed store, hash-verified

212 @return {String} Configuration path
213 */
214 configPath() {
215 let configPath = 'config';
216
217 if (this.pkg['ember-addon'] && this.pkg['ember-addon']['configPath']) {
218 configPath = this.pkg['ember-addon']['configPath'];
219 }
220
221 return path.join(this.root, configPath, 'environment');
222 }
223
224 /**
225 Loads the configuration for this project and its addons.

Callers 5

configMethod · 0.95
configWithoutCacheMethod · 0.95
packageConfigMethod · 0.80
ember-app-test.jsFile · 0.80
project-test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected