Don't resolve anymore given we have an absolute top level path

This commit is contained in:
mike12345567 2023-06-07 16:36:43 +01:00
parent 70e4795349
commit 9ebd90a07d
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
require("svelte/register") require("svelte/register")
import { resolve, join } from "../../../utilities/centralPath" import { join } from "../../../utilities/centralPath"
const uuid = require("uuid") const uuid = require("uuid")
import { ObjectStoreBuckets } from "../../../constants" import { ObjectStoreBuckets } from "../../../constants"
import { processString } from "@budibase/string-templates" import { processString } from "@budibase/string-templates"
@ -49,7 +49,7 @@ export const toggleBetaUiFeature = async function (ctx: any) {
return return
} }
let builderPath = resolve(TOP_LEVEL_PATH, "new_design_ui") let builderPath = join(TOP_LEVEL_PATH, "new_design_ui")
// // download it from S3 // // download it from S3
if (!fs.existsSync(builderPath)) { if (!fs.existsSync(builderPath)) {