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

Edit Contentlet: Allow User Write Code - fix SonarQube regex warning #26475

Merged

Conversation

rjvelazco
Copy link
Contributor

@rjvelazco rjvelazco commented Oct 19, 2023

Description

🤖 Generated by Copilot at 6bf570e

Improve binary field editor component by extracting file name validation regex. This change enhances the performance and readability of the dot-binary-field-editor component by moving the regular expression for validating the file name to a private field regex in dot-binary-field-editor.component.ts.

Related Issue

Fixes #26045

Explanation of Changes

🤖 Generated by Copilot at 6bf570e

  • Extract file name validation regex into a private field regex to improve performance and readability (link)

@rjvelazco rjvelazco marked this pull request as ready for review October 19, 2023 21:17
@dotcms-sonarqube
Copy link

@fmontes fmontes merged commit 808a924 into master Oct 20, 2023
24 checks passed
@fmontes fmontes deleted the issue-26045-edit-contentlet-allow-user-write-code-fix-regex branch October 20, 2023 17:04
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.

Edit Contentlet: Allow User Write Code
6 participants