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 Don't keep empty files #28

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli commented May 7, 2024

  • Deletes yaml files if there's nothing under the lang key (e.g. has en: but nothing inside that)
  • Deletes js source files if there's nothing in it (empty array)
  • Deletes js dist files if there's no corresponding js source file

Needs to be manually tagged after merging

Issue

Files can be empty if previous runs provided incorrect values (e.g.
english strings inside non-english files), and subsequent runs remove
the errant values.
@emteknetnz emteknetnz merged commit 72ae09b into silverstripe:1.1 May 7, 2024
1 check passed
@emteknetnz emteknetnz deleted the pulls/1.1/remove-empty-files branch May 7, 2024 22:44
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