Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
We're using ES5 to import modules so we have to use ES5 to export the modules (you don't have to, but the process to import the module is a little more involved). In this case, I did an ES6
export default
, resulting an error being thrown at runtime. This PR switches it to an ES5 export. I've logged a separate issue to add a lint rule so we can catch this type of thing earlier: https://jira.corp.adobe.com/browse/CORE-54412Related Issue
It doesn't resolve this issue, but it is related: https://jira.corp.adobe.com/browse/CORE-54412
Motivation and Context
The send event action was throwing an error.
Screenshots (if appropriate):
Types of changes
Checklist: