Skip to content

Conversation

@ZamoraEmmanuel
Copy link
Contributor

JavaScript commons library

What did you accomplish?

How do we test the changes introduced in this PR?

Extra Notes

@ZamoraEmmanuel ZamoraEmmanuel requested a review from a team as a code owner December 18, 2025 18:35

export function prerequisitesMatcherContext(prerequisites: ISplit['prerequisites'] = [], storage: IStorageSync | IStorageAsync, log: ILogger) {

prerequisites = prerequisites == null ? [] : prerequisites;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would do the following to reduce some code:

export function prerequisitesMatcherContext(prerequisites: ISplit['prerequisites'], storage: IStorageSync | IStorageAsync, log: ILogger) {

  prerequisites = prerequisites || [];
  ...

@ZamoraEmmanuel ZamoraEmmanuel merged commit f398ca8 into development Dec 18, 2025
2 checks passed
@ZamoraEmmanuel ZamoraEmmanuel deleted the fme-11995 branch December 18, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants