diff --git a/lib/node/node.js b/lib/node/node.js index b0237fa3..d7014239 100644 --- a/lib/node/node.js +++ b/lib/node/node.js @@ -122,6 +122,16 @@ Node.prototype.ensure = function ensure() { return this.config.ensure(); }; +/** + * Create a file path using `prefix`. + * @param {String} file + * @returns {String} + */ + +Node.prototype.location = function location(name) { + return this.config.location(name); +}; + /** * Open node. Bind all events. * @private