Skip to content

Commit

Permalink
add exception for no platform
Browse files Browse the repository at this point in the history
(cherry picked from commit 46ff90f)
  • Loading branch information
Marius456 committed Dec 12, 2024
1 parent aa55747 commit b8d6e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/projects/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const checkAndUpdateProjectIfRequired = async () => {

if (!platform) return;
const { isMonorepo } = c.buildConfig;
if (isMonorepo) return true;
if (isMonorepo || typeof platform === 'boolean') return true;
await applyTemplate();

const allPlatforms = Object.keys(c.buildConfig?.platforms || {});
Expand Down

0 comments on commit b8d6e31

Please sign in to comment.