Skip to content

Correctly pass exclude option to JsCodeExtractor#37

Merged
schlessera merged 1 commit intomasterfrom
fix-exclude-option
Jul 10, 2018
Merged

Correctly pass exclude option to JsCodeExtractor#37
schlessera merged 1 commit intomasterfrom
fix-exclude-option

Conversation

@swissspidy
Copy link
Copy Markdown
Member

This fixes an oversight after working on #26 and #31 simultaneously.

When fixing the merge conflict for the JS extraction PR, I probably forgot to pass the exclude option to the JS scanner as well.

Just noticed this after I ran into a timeout trying to extract strings from hundreds of JS files inside vendor 🙃

Added a test to make sure JS files are taken into account as well.

@swissspidy swissspidy requested a review from a team July 6, 2018 13:12
@schlessera schlessera added command:i18n-make-pot Related to 'i18n make-pot' command bug labels Jul 10, 2018
@schlessera schlessera added this to the 0.1.0 milestone Jul 10, 2018
@schlessera schlessera merged commit 9b2c03f into master Jul 10, 2018
@schlessera schlessera deleted the fix-exclude-option branch July 10, 2018 11:15
schlessera added a commit that referenced this pull request Jan 6, 2022
Correctly pass exclude option to JsCodeExtractor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug command:i18n-make-pot Related to 'i18n make-pot' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants