adding correct path delimiter for windows

This commit is contained in:
Martin McKeaveney 2021-03-14 18:10:38 +00:00
parent 8f6538f33a
commit 7da92451d6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ describe("/component", () => {
function mock() { function mock() {
const manifestFile = "manifest.json" const manifestFile = "manifest.json"
const appId = config.getAppId() const appId = config.getAppId()
const libraries = ["@budibase/standard-components"] const libraries = [join("@budibase", "standard-components")]
for (let library of libraries) { for (let library of libraries) {
let appDirectory = resolve(budibaseAppsDir(), appId, "node_modules", library, "package") let appDirectory = resolve(budibaseAppsDir(), appId, "node_modules", library, "package")
fs.mkdirSync(appDirectory, { recursive: true }) fs.mkdirSync(appDirectory, { recursive: true })