mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
10 lines
204 B
JavaScript
10 lines
204 B
JavaScript
|
const path = require('path');
|
||
|
function root(args) {
|
||
|
args = Array.prototype.slice.call(arguments, 0);
|
||
|
return path.join.apply(path, [__dirname, '..'].concat(args));
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
root: root
|
||
|
}
|