mirror of
https://github.com/valitydev/koffing.git
synced 2024-11-06 17:25:22 +00:00
10 lines
231 B
JavaScript
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; |