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

Enable inline diff rendering from CLI #42

Merged
merged 1 commit into from
Jun 30, 2017
Merged

Conversation

adamgruber
Copy link
Owner

Fixes an issue where a report created via CLI, using test data containing inline diffs, would not actually render. It would instead throw an error. :(

Instead of relying on the useInlineDiffs flag – which does not exist when generating a report via CLI – we decide how to render diffs based on whether code is a string or an array.

@adamgruber adamgruber merged commit be414dc into master Jun 30, 2017
@adamgruber adamgruber deleted the feature/rework-diffs branch June 30, 2017 17:38
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.

1 participant