-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
feat: enable noOverwriteGlobs
for templates based on react engine
#1227
feat: enable noOverwriteGlobs
for templates based on react engine
#1227
Conversation
noOverwriteGlobs
for templates based on react engine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lmgyuan please have a look on the PR title, how I changed it - it is always very important to have good meaningful titles as we use them as commit messages and they help a lot long term, with maintenance, when digging into history - bug hunting 😄
also please remove .idea
from that PR - add it to .gitignore
later
although I think you didn't update the PR after our last meeting
Quality Gate passedIssues Measures |
@lmgyuan you need to solve conflicts |
Description
add noOverwriteGlobs parameters to methods saveContentToFile and saveRenderedReactContent
pass this.noOverwriteGlobs to saveContentToFile
check the name of file to be written against the noOverwriteGlobs to determine whether it should be actually written to the target directory
add additional comments to relevant codes in the codebase so they are easier for future maintainers and contributors to understand.
Related issue(s)
Fixes #1128