budibase/packages/server/utilities/runtimePackages.js

9 lines
281 B
JavaScript
Raw Normal View History

2019-06-28 23:59:27 +02:00
const { join } = require("path");
const runtimePackagesDirectory = "./runtime_apps";
module.exports.runtimePackagesDirectory = runtimePackagesDirectory;
module.exports.getRuntimePackageDirectory = (appName, versionId) =>
join(runtimePackagesDirectory, appName, versionId);