Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Resolve linting issues #48

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

rmi22186
Copy link
Member

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

Linter showed that there were several Unchecked cast errors. This PR resolves them.

Testing Plan

  • Was this tested locally? If not, explain why.
    I manually tested events that included a product, impression, promotion event with custom attributes, as well as added CCPA to ensure all data was still sent properly with no crashes.

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

Copy link

@Mansi-mParticle Mansi-mParticle left a comment

Choose a reason for hiding this comment

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

Other code is looking good to me only one comment I have

}
} catch (ex: Exception) {
result.error(TAG, ex.message, null)
null
}
Copy link
Member Author

Choose a reason for hiding this comment

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

actually this is just a line formatting issue. i have fixed this. the builds from CI are all working, showing this isn't a syntax issue.

Copy link

@Mansi-mParticle Mansi-mParticle left a comment

Choose a reason for hiding this comment

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

Remove Extra line

} catch (ex: Exception) {
result.error(TAG, ex.message, null)
null
}
}


Choose a reason for hiding this comment

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

Suggested change

@rmi22186 rmi22186 force-pushed the fix/SQDSDKS-6259-flutter-lint branch from c39b7c8 to 0be6142 Compare November 27, 2024 15:39
Copy link

@Mansi-mParticle Mansi-mParticle left a comment

Choose a reason for hiding this comment

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

Looks good to me

@rmi22186 rmi22186 merged commit ee9e9ff into development Nov 27, 2024
11 checks passed
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.

2 participants