Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/rec' into rec-release
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Sep 16, 2024
2 parents be3cc48 + 173a757 commit a036da9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/cli-app/src/lib/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ const loadPlugins = async () => {
const stores = await getStores()
for (const store of stores) {
const pluginsDirectory = path.join(store.fullPath, "data", "plugins")
if (!(await fs.exists(pluginsDirectory))) {
throw new TRPCError({
message: `The plugins directory doesn't exist at ${pluginsDirectory}`,
code: "INTERNAL_SERVER_ERROR",
})
}
await fs.ensureDir(pluginsDirectory)

//* Get all the plugins
const formattedPluginsDirectory = pluginsDirectory.replace(/\\/g, "/")
Expand Down

0 comments on commit a036da9

Please sign in to comment.