blob: c2c3717238fff3f9b92a30ecad1fd60b51dbcaf3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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;
|