Unverified Commit 855ada1d authored by Christopher Fujino's avatar Christopher Fujino Committed by GitHub

pub global deactivate devtools before installing (#82491)

* pub global deactivate devtools before installing
* upgrade devtools to latest
parent 14546bfa
......@@ -1436,6 +1436,12 @@ class DevToolsMemoryTest {
}
Future<void> _launchDevTools() async {
// To mitigate https://github.com/flutter/flutter/issues/82142
await exec(pubBin, <String>[
'global',
'deactivate',
'devtools',
], canFail: true);
// The version of devtools is pinned. If we pub global activate devtools and an
// upstream devtools release breaks our CI, it will manifest on an unrelated
// commit, making it more difficult to determine the cause.
......@@ -1445,7 +1451,7 @@ class DevToolsMemoryTest {
'global',
'activate',
'devtools',
'2.2.2',
'2.2.3',
]);
_devToolsProcess = await startProcess(
pubBin,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment