Skip to content

Commit

Permalink
Fix manifest usage
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinr committed May 17, 2023
1 parent 5d0edcc commit c565873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/budibase_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
node-version: 14.x
cache: "yarn"
- run: yarn
- run: yarn build --scope=@budibase/types --scope=@budibase/shared-core --scope=@budibase/string-templates --scope=@budibase/client
- run: yarn build --scope=@budibase/types --scope=@budibase/shared-core --scope=@budibase/string-templates
- run: yarn test --ignore=@budibase/pro
- uses: codecov/codecov-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/utilities/fileSystem/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const getComponentLibraryManifest = async (library: string) => {
const filename = "manifest.json"

if (env.isDev() || env.isTest()) {
const path = join(NODE_MODULES_PATH, "@budibase", "client", filename)
const path = join(TOP_LEVEL_PATH, "../client", filename)
// always load from new so that updates are refreshed
delete require.cache[require.resolve(path)]
return require(path)
Expand Down

0 comments on commit c565873

Please sign in to comment.