koffing/config/helpers.js
2017-02-09 21:58:51 +03:00

10 lines
231 B
JavaScript

const path = require('path');
const _root = path.resolve(__dirname, '..');
function root(args) {
args = Array.prototype.slice.call(arguments, 0);
return path.join.apply(path, [_root].concat(args));
}
exports.root = root;