arch-wiki-man/lib/util.js
Gregory Scheerlinck 1673174a85 first commit
2016-01-30 15:11:55 +00:00

11 lines
273 B
JavaScript

'use strict';
var path = require('path');
exports.getArticlePath = getArticlePath;
function getArticlePath(relativeArticlePath) {
var absoluteArticlePath = path.resolve('node_modules', 'arch-wiki-md-repo', 'wiki', relativeArticlePath);
return absoluteArticlePath;
}