Skip to content

Only get telemetry if transform is actually needed - #534

Merged
gitKrystan merged 1 commit into
ember-codemods:masterfrom
gitKrystan:less-telemetry
May 22, 2023
Merged

gitKrystan merged 1 commit into
ember-codemods:masterfrom
gitKrystan:less-telemetry

Conversation

@gitKrystan

Copy link
Copy Markdown
Collaborator

This prevents getting telemetry when there is no EmberObject.extend expression to transform. The telemetry helpers do not handle non-app/addon paths very well, so avoiding these cases prevents a lot of unnecessary errors from being thrown.

This prevents getting telemetry when there is no EmberObject.extend expression to transform. The telemetry helpers do not handle non-app/addon paths very well, so avoiding these cases prevents a lot of unnecessary errors from being thrown.
@gitKrystan
gitKrystan merged commit e9b82d5 into ember-codemods:master May 22, 2023
@gitKrystan gitKrystan added the bug Something isn't working label May 22, 2023
@gitKrystan
gitKrystan deleted the less-telemetry branch May 22, 2023 20:40
@github-actions github-actions Bot mentioned this pull request Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants