• stuartmorgan's avatar
    Don't use example folder as a project type signal (#97157) · 2dd8cb1c
    stuartmorgan authored
    The code to generate platform files used to use the presence of an
    'example' folder to determine whether or not a project was a plugin (in
    which case that generation is bypassed). Later, robust detection was
    added based on the pubspec.yaml `plugin` key, but the old check was left
    in place. This creates false positives where people who add an example
    folder to their app project start getting mysterious failures.
    
    Since the pubspec check is definitive, there's no reason to continue to
    use the presence of `example` as an indicator at all.
    
    Fixes https://github.com/flutter/flutter/issues/87007
    2dd8cb1c
Name
Last commit
Last update
..
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_goldens Loading commit data...
flutter_goldens_client Loading commit data...
flutter_localizations Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
flutter_web_plugins Loading commit data...
fuchsia_remote_debug_protocol Loading commit data...
integration_test Loading commit data...
analysis_options.yaml Loading commit data...