1
0
Fork 0
mirror of synced 2024-10-01 17:47:46 +13:00

Fixing an issue with a test case, was going down dev path.

This commit is contained in:
mike12345567 2021-03-25 11:41:41 +00:00
parent 43a2e8ba10
commit 8a577b81f6

View file

@ -12,7 +12,7 @@ exports.fetchAppComponentDefinitions = async function(ctx) {
let componentManifests = await Promise.all(
app.componentLibraries.map(async library => {
let manifest
if (env.isDev()) {
if (env.isDev() && !env.isTest()) {
manifest = require(join(budibaseTempDir(), library, "manifest.json"))
} else {
manifest = await fileSystem.getComponentLibraryManifest(appId, library)