• Greg Spencer's avatar
    Narrow regexp for import search in bot's analyze script. (#26539) · 35fcd907
    Greg Spencer authored
    This was causing analysis to fail when there was an import statement in a comment, such as when snippets add imports to their examples.
    
    I narrowed the RegExp to match only those lines which aren't commented out, but it really should probably be using the analysis server to catch all cases (e.g. if someone put the doc comment into /** */ comments, it could still match). Since this is a Flutter-specific script, it's probably not worth doing that.
    35fcd907
Name
Last commit
Last update
..
test Loading commit data...
README.md Loading commit data...
VERSION_LINUX_NDK Loading commit data...
VERSION_LINUX_SDK Loading commit data...
VERSION_MACOSX_NDK Loading commit data...
VERSION_MACOSX_SDK Loading commit data...
VERSION_WIN_SDK Loading commit data...
analyze-sample-code.dart Loading commit data...
analyze.dart Loading commit data...
cirrus_setup.sh Loading commit data...
codelabs_build_test.sh Loading commit data...
deploy_gallery.sh Loading commit data...
docs.sh Loading commit data...
download_android_tools.py Loading commit data...
find_depot_tools.py Loading commit data...
prepare_package.dart Loading commit data...
pubspec.yaml Loading commit data...
run_command.dart Loading commit data...
test.dart Loading commit data...
upload_android_tools.py Loading commit data...