Skip to content

Commit

Permalink
fix: change the way presets are required
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Jun 7, 2022
1 parent c09e922 commit 90819e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-common/src/presets.ts
Expand Up @@ -97,7 +97,7 @@ export const resolveAddonName = (
const managerFile = safeResolve(`${path}/manager`);
const registerFile = safeResolve(`${path}/register`) || safeResolve(`${path}/register-panel`);
const previewFile = safeResolve(`${path}/preview`);
const presetFile = safeResolve(`${path}/preset`);
const presetFile = r(`${path}/preset`);

if (!(managerFile || previewFile) && presetFile) {
return {
Expand Down

0 comments on commit 90819e3

Please sign in to comment.