botpress
Version:
The world's first CMS for bots. Easily create, manage and extend chatbots.
21 lines (16 loc) • 587 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.normalizeFolder = undefined;
var _path = require('path');
var _path2 = _interopRequireDefault(_path);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const normalizeFolder = exports.normalizeFolder = projectLocation => folder => {
const folderPath = _path2.default.resolve(projectLocation, folder);
return {
folderPath,
normalizedFolderName: _path2.default.relative(projectLocation, folderPath)
};
};
//# sourceMappingURL=util.js.map