Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
53125203
Unverified
Commit
53125203
authored
Jul 08, 2021
by
Zachary Anderson
Committed by
GitHub
Jul 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tool] Pin DevTools to 2.4.0 (#86124)
parent
84e57678
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
12 deletions
+18
-12
devtools_launcher.dart
packages/flutter_tools/lib/src/devtools_launcher.dart
+1
-0
devtools_launcher_test.dart
...tter_tools/test/general.shard/devtools_launcher_test.dart
+16
-11
overall_experience_test.dart
...tools/test/integration.shard/overall_experience_test.dart
+1
-1
No files found.
packages/flutter_tools/lib/src/devtools_launcher.dart
View file @
53125203
...
...
@@ -178,6 +178,7 @@ class DevtoolsServerLauncher extends DevtoolsLauncher {
'global'
,
'activate'
,
'devtools'
,
'2.4.0'
,
]);
if
(
_devToolsActivateProcess
.
exitCode
!=
0
)
{
_logger
.
printError
(
...
...
packages/flutter_tools/test/general.shard/devtools_launcher_test.dart
View file @
53125203
...
...
@@ -178,7 +178,7 @@ void main() {
'global'
,
'list'
,
],
stdout:
'devtools
0.9.6
'
,
stdout:
'devtools
2.4.0
'
,
),
const
FakeCommand
(
command:
<
String
>[
...
...
@@ -186,8 +186,9 @@ void main() {
'global'
,
'activate'
,
'devtools'
,
'2.4.0'
,
],
stdout:
'Activated DevTools
0.9.6
'
,
stdout:
'Activated DevTools
2.4.0
'
,
),
FakeCommand
(
command:
const
<
String
>[
...
...
@@ -231,8 +232,9 @@ void main() {
'global'
,
'activate'
,
'devtools'
,
'2.4.0'
],
stdout:
'Activated DevTools
0.9.5
'
,
stdout:
'Activated DevTools
2.4.0
'
,
),
const
FakeCommand
(
command:
<
String
>[
...
...
@@ -240,7 +242,7 @@ void main() {
'global'
,
'list'
,
],
stdout:
'devtools
0.9.5
'
,
stdout:
'devtools
2.4.0
'
,
),
FakeCommand
(
command:
const
<
String
>[
...
...
@@ -276,7 +278,7 @@ void main() {
'global'
,
'list'
,
],
stdout:
'devtools
0.9.5
'
,
stdout:
'devtools
2.4.0
'
,
),
const
FakeCommand
(
command:
<
String
>[
...
...
@@ -284,8 +286,9 @@ void main() {
'global'
,
'activate'
,
'devtools'
,
'2.4.0'
],
stdout:
'Activated DevTools
0.9.5
'
,
stdout:
'Activated DevTools
2.4.0
'
,
),
FakeCommand
(
command:
const
<
String
>[
...
...
@@ -326,7 +329,7 @@ void main() {
'global'
,
'list'
,
],
stdout:
'devtools
0.9.6
'
,
stdout:
'devtools
2.4.0
'
,
),
const
FakeCommand
(
command:
<
String
>[
...
...
@@ -353,7 +356,7 @@ void main() {
'global'
,
'list'
,
],
stdout:
'devtools
0.9.6
'
,
stdout:
'devtools
2.4.0
'
,
),
const
FakeCommand
(
command:
<
String
>[
...
...
@@ -397,7 +400,7 @@ void main() {
'global'
,
'list'
,
],
stdout:
'devtools
0.9.6
'
,
stdout:
'devtools
2.4.0
'
,
),
const
FakeCommand
(
command:
<
String
>[
...
...
@@ -405,6 +408,7 @@ void main() {
'global'
,
'activate'
,
'devtools'
,
'2.4.0'
,
],
stderr:
'Error - could not activate devtools'
,
exitCode:
1
,
...
...
@@ -442,7 +446,7 @@ void main() {
'global'
,
'list'
,
],
stdout:
'devtools
0.9.5
'
,
stdout:
'devtools
2.4.0
'
,
),
const
FakeCommand
(
command:
<
String
>[
...
...
@@ -450,8 +454,9 @@ void main() {
'global'
,
'activate'
,
'devtools'
,
'2.4.0'
],
stdout:
'Activated DevTools
0.9.6
'
,
stdout:
'Activated DevTools
2.4.0
'
,
),
const
FakeCommand
(
command:
<
String
>[
...
...
packages/flutter_tools/test/integration.shard/overall_experience_test.dart
View file @
53125203
...
...
@@ -450,7 +450,7 @@ void main() {
// Ensure that DevTools is activated.
final
ProcessResult
pubResult
=
await
processManager
.
run
(<
String
>[
fileSystem
.
path
.
join
(
flutterRoot
,
'bin'
,
'cache'
,
'dart-sdk'
,
'bin'
,
'dart'
),
'pub'
,
'global'
,
'activate'
,
'devtools'
,
'pub'
,
'global'
,
'activate'
,
'devtools'
,
'2.4.0'
,
],
workingDirectory:
testDirectory
).
timeout
(
const
Duration
(
seconds:
20
));
if
(
pubResult
.
exitCode
!=
0
)
{
print
(
'Unable to activate devtools:
\n
${pubResult.stderr}
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment