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

Method resolveSync

lib/models/project.js:332–336  ·  view source on GitHub ↗

Resolves the absolute path to a file synchronously @private @method resolveSync @param {String} file File to resolve @return {String} Absolute path to file

(file)

Source from the content-addressed store, hash-verified

330 @return {String} Absolute path to file
331 */
332 resolveSync(file) {
333 return resolve.sync(file, {
334 basedir: process.env.EMBER_NODE_PATH || this.root,
335 });
336 }
337
338 /**
339 Calls `require` on a given module from the context of the project. For

Callers 2

hasDependenciesMethod · 0.95
requireMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected