Skip to content

Commit 5febb90

Browse files
MoonBoi9001claude
andcommitted
style(models): fix formatting in PRESENT_POI validation case
Match multi-line formatting of other action types and add missing break. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent b77b0fb commit 5febb90

File tree

1 file changed

+5
-1
lines changed
  • packages/indexer-common/src/indexer-management/models

1 file changed

+5
-1
lines changed

packages/indexer-common/src/indexer-management/models/action.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,15 @@ export const defineActionModels = (sequelize: Sequelize): ActionModels => {
204204
}
205205
break
206206
case ActionType.PRESENT_POI:
207-
if (this.deploymentID === null || this.allocationID === null) {
207+
if (
208+
this.deploymentID === null ||
209+
this.allocationID === null
210+
) {
208211
throw new Error(
209212
`ActionType.PRESENT_POI action must have required params: ['deploymentID','allocationID']`,
210213
)
211214
}
215+
break
212216
}
213217
},
214218
},

0 commit comments

Comments
 (0)