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(devkit): add '.tgz' to binaryExts array #6930

Merged
merged 1 commit into from Sep 3, 2021
Merged

fix(devkit): add '.tgz' to binaryExts array #6930

merged 1 commit into from Sep 3, 2021

Conversation

russormes
Copy link
Contributor

devkit's generateFiles function excludes parsing binary files with the templating engine.
This patch adds .tgz files to the list of binary files to ignore.

Current Behavior

When a custom generator includes archive files with the .tgz extension they are corrupted during the call to generateFiles due to being parsed by the template engine.

Expected Behavior

That archive files should be copied uncorrupted to generated app.

Related Issue(s)

Fixes #

devkit's generateFiles function excludes parsing binary files with the templating engine.
This
patch adds .tgz files to the list of binary files to ignore.
@vercel
Copy link

vercel bot commented Sep 3, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nrwl/nx-dev/HbPzvavTpxtVp4tisPJHZGYzhPr1
✅ Preview: Canceled

@AgentEnder AgentEnder merged commit 26f82b9 into nrwl:master Sep 3, 2021
@russormes russormes deleted the add-tgz-to-binary-ext branch September 3, 2021 17:13
ManojBahuguna pushed a commit to ManojBahuguna/nx that referenced this pull request Sep 16, 2021
devkit's generateFiles function excludes parsing binary files with the templating engine.
This
patch adds .tgz files to the list of binary files to ignore.
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants