Skip to content

Conversation

buenaflor
Copy link
Contributor

@buenaflor buenaflor commented Jul 1, 2025

📜 Description

Adds support for ignoring files and directories when uploading sourcemaps and sources for Flutter Web

💡 Motivation and Context

Closes #329

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

Copy link
Contributor

github-actions bot commented Jul 1, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 00ae635

@buenaflor buenaflor changed the title ignore path list for web feat: ignore path list for web Jul 1, 2025
@buenaflor buenaflor marked this pull request as ready for review July 14, 2025 15:27
@buenaflor buenaflor requested a review from stefanosiano as a code owner July 14, 2025 15:27
Comment on lines 3 to +10
class ConfigFormatter {
static String formatConfig(
String config, ConfigFileType fileType, String? url) {
// Add URL if provided
if (url != null) {
config = _addUrlPrefix(config, fileType, url);
String config,
ConfigFileType fileType,
String? url,
) {
if (url?.isNotEmpty == true) {
config = _addUrlPrefix(config, fileType, url!);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eventually we should rewrite the test to not rely on things like normalizing the pubspec and properties file to a string.

adding more and more business logic to test code is generally not good

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.

Prevent source upload to upload anything in the folder
2 participants