devtools
0d225b22 - Use located Flutter instead of PATH flutter for Command.flutter() + support FLUTTER_ROOT override (#6669)

Commit
2 years ago
Use located Flutter instead of PATH flutter for Command.flutter() + support FLUTTER_ROOT override (#6669) This fixes a TODO where Command.flutter() would always run the version of Flutter from PATH and not the same one we would detect. This will allow me to fix an issue when using a custom version of DevTools in VS Code (calling "devtools_tool serve") without having to ensure my PATH points at the same version (which it probably doesn't when I'm just opening test apps that use my "normal" checkout of Flutter).
Author
Parents
Loading