accountant-ui/config/helpers.js

11 lines
224 B
JavaScript
Raw Normal View History

2017-11-07 22:41:52 +01:00
var path = require('path');
var _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;