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

dont add newlines when replacing editor experiment #32087

Merged
merged 1 commit into from Nov 26, 2019

Conversation

davidsbailey
Copy link
Member

Description

Follow-on to #32017

there seem to be a number of blank lines accumulating in DSL-defined level files after the editor_experiment line. This PR attempts to fix that by removing the preceding newline. Note that this might fail to remove an editor_experiment is on the very first line of the file, but that seems unlikely and (though confusing) would be mostly harmless since it'd be overridden by the editor_experiment we then added on the second line of the file.

Testing story

updated existing unit test cases.

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@davidsbailey davidsbailey requested a review from a team as a code owner November 26, 2019 02:06
@davidsbailey davidsbailey changed the base branch from staging to staging-next November 26, 2019 02:06
@davidsbailey davidsbailey removed the request for review from a team November 26, 2019 02:07
@davidsbailey davidsbailey merged commit aaf3b12 into staging-next Nov 26, 2019
@davidsbailey davidsbailey deleted the editor_experiment_newline branch November 26, 2019 19:49
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.

None yet

2 participants