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
558c753f
Unverified
Commit
558c753f
authored
Feb 16, 2018
by
Mikkel Nygaard Ravn
Committed by
GitHub
Feb 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test failure by silencing analyzer preamble and congrats (#14745)
parent
52abda66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
dartdocs.dart
dev/devicelab/bin/tasks/dartdocs.dart
+1
-5
No files found.
dev/devicelab/bin/tasks/dartdocs.dart
View file @
558c753f
...
@@ -15,7 +15,7 @@ Future<Null> main() async {
...
@@ -15,7 +15,7 @@ Future<Null> main() async {
final
Stopwatch
clock
=
new
Stopwatch
()..
start
();
final
Stopwatch
clock
=
new
Stopwatch
()..
start
();
final
Process
analysis
=
await
startProcess
(
final
Process
analysis
=
await
startProcess
(
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'flutter'
),
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'flutter'
),
<
String
>[
'analyze'
,
'--flutter-repo'
,
'--dartdocs'
],
<
String
>[
'analyze'
,
'--
no-preamble'
,
'--no-congratulate'
,
'--
flutter-repo'
,
'--dartdocs'
],
workingDirectory:
flutterDirectory
.
path
,
workingDirectory:
flutterDirectory
.
path
,
);
);
int
publicMembers
=
0
;
int
publicMembers
=
0
;
...
@@ -37,10 +37,6 @@ Future<Null> main() async {
...
@@ -37,10 +37,6 @@ Future<Null> main() async {
print
(
'analyzer stdout:
$entry
'
);
print
(
'analyzer stdout:
$entry
'
);
if
(
entry
==
'Building flutter tool...'
)
{
if
(
entry
==
'Building flutter tool...'
)
{
// ignore this line
// ignore this line
}
else
if
(
entry
.
startsWith
(
'Analyzing '
))
{
// ignore this line
}
else
if
(
entry
.
startsWith
(
'No analyzer warnings!'
))
{
// ignore this line
}
else
{
}
else
{
otherLines
+=
1
;
otherLines
+=
1
;
}
}
...
...
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