mirror of
https://github.com/valitydev/checkout.git
synced 2024-11-06 10:35:20 +00:00
11 lines
232 B
JavaScript
11 lines
232 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;
|