Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
josemarinas committed Dec 1, 2023
1 parent 44940e3 commit 170ace9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/client/src/internal/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ export async function validateApplyUpdateFunction(
},
name: "pluginPreparations",
});
if (!pluginPreparations) {
if (!pluginPreparations.length) {
causes.push(
PluginUpdateProposalInValidityCause.MISSING_PLUGIN_PREPARATION,
);
Expand Down

0 comments on commit 170ace9

Please sign in to comment.