Returns the path to the configuration. @private @method configPath @return {String} Configuration path
()
| 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. |
no outgoing calls
no test coverage detected