Skip to content

Commit

Permalink
lint -_-
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabricevladimir committed Dec 5, 2023
1 parent e589de1 commit 4fac41e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/client/src/internal/client/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1198,15 +1198,14 @@ export class ClientMethods extends ClientCore implements IClientMethods {
],
};
}


let daoActions = toDaoActions(iproposal.actions);
const classifiedActions = classifyProposalActions(daoActions);

// remove upgradeToAndCall action
if (containsDaoUpdateAction(classifiedActions)) {
// remove upgradeToAndCall action
if (containsDaoUpdateAction(classifiedActions)) {
daoActions = daoActions.slice(1);
}
}

// validate actions
return validateUpdatePluginProposalActions(
Expand Down

0 comments on commit 4fac41e

Please sign in to comment.