@x-ray/core
Version:
X-Ray Core
16 lines (11 loc) • 510 B
JavaScript
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getTarFilePath = void 0;
var _path = _interopRequireDefault(require("path"));
const getTarFilePath = options => {
const examplesDirPath = _path.default.dirname(options.examplesFilePath);
return _path.default.join(examplesDirPath, '__data__', `${options.examplesName}-${options.pluginName}.tar.gz`);
};
exports.getTarFilePath = getTarFilePath;