-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix: Unable to upload assets with non-default file extensions #15111
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: Unable to upload assets with non-default file extensions #15111
Conversation
Break down the complex if condition in Asset validation into separate variables to improve code readability and maintainability. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 5.2 #15111 +/- ##
=========================================
Coverage 63.72% 63.72%
- Complexity 34684 34686 +2
=========================================
Files 2274 2274
Lines 103771 103776 +5
=========================================
+ Hits 66126 66131 +5
Misses 37645 37645
🚀 New features to boost your workflow:
|
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.
Works.
Code looks good 👍
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.
Works as described! 👍
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
I did small update of one if statement to make it more readable |
Description
This PR fixes:
Setting your default file types in configuration was taking no effect.
Now your configured types are used as source for the upload validation.
📋 Steps to test this PR: