[BUG]: Build Issue with FlutterGen When Excluding Paths with Special Characters in Filenames #509
Open
2 tasks done
Labels
bug
Something isn't working
Is there an existing issue for this?
Version
5.4.0
Command type
build_runner (Default)
What happened?
Hello,
I've been using your package and encountered a specific problem when excluding directories in
pubspec.yaml
for FlutterGen. This issue involves handling filenames with special characters, such as a plus sign (+), which aren't processed correctly despite being in an excluded directory.Configuration:
Problem:
Despite excluding the
assets-extern/
directory, FlutterGen processes files from this directory, leading to a build error:It seems, that FlutterGen is parsing first everything and then applying a filter with the declared excluded paths. I understand this is a very special case due to the unique filenames connected to our database models. However, I confirmed the build runner recognizes this configuration. Is there a possible solution to handle filenames with special characters?
Thank you!
Relevant a pubspec.yaml.
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: