Initializes the `project` property from `options.project` or the closest Ember CLI project from the current working directory. @private @method _initProject @param {Object} options
(options)
| 185 | @param {Object} options |
| 186 | */ |
| 187 | _initProject(options) { |
| 188 | let app = this; |
| 189 | |
| 190 | this.project = options.project || Project.closestSync(process.cwd()); |
| 191 | |
| 192 | if (options.configPath) { |
| 193 | this.project.configPath = function () { |
| 194 | return app._resolveLocal(options.configPath); |
| 195 | }; |
| 196 | this.project.configCache.clear(); |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | /** |
| 201 | Initializes the `options` property from the `options` parameter and |
no test coverage detected