Skip to content

Commit

Permalink
fix(bc): sonar blocker fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoPascoli committed Jan 30, 2025
1 parent 81fc4f7 commit bd671ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _apply_config(self, study_data: FileStudyTreeConfig) -> OutputTuple:
missing_bc_ids = [id_ for id_ in self.ids if id_ not in already_existing_ids]
if missing_bc_ids:
return CommandOutput(status=False, message=f"Binding constraint not found: '{missing_bc_ids}'"), {}
return CommandOutput(status=True), {}
return CommandOutput(status=True, message=f"Binding constraint removed"), {}

@override
def _apply(self, study_data: FileStudy, listener: t.Optional[ICommandListener] = None) -> CommandOutput:
Expand Down

0 comments on commit bd671ed

Please sign in to comment.