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
1d4292f7
Commit
1d4292f7
authored
Nov 23, 2016
by
Devon Carew
Committed by
GitHub
Nov 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filter message about front_end (#7001)
parent
06ca1b33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pub.dart
packages/flutter_tools/lib/src/dart/pub.dart
+3
-2
No files found.
packages/flutter_tools/lib/src/dart/pub.dart
View file @
1d4292f7
...
...
@@ -65,12 +65,13 @@ Future<Null> pubGet({
throwToolExit
(
'
$directory
: pub did not update .packages file (pubspec.yaml file has a newer timestamp)'
);
}
final
RegExp
_analyzerWarning
=
new
RegExp
(
r'^!
analyzer [^ ]+ from path \.\./\.\./bin/cache/dart-sdk/lib/analyzer
$'
);
final
RegExp
_analyzerWarning
=
new
RegExp
(
r'^!
\w+ [^ ]+ from path \.\./\.\./bin/cache/dart-sdk/lib/\w+
$'
);
String
_filterOverrideWarnings
(
String
message
)
{
// This function filters out these t
wo
messages:
// This function filters out these t
hree
messages:
// Warning: You are using these overridden dependencies:
// ! analyzer 0.29.0-alpha.0 from path ../../bin/cache/dart-sdk/lib/analyzer
// ! front_end 0.1.0-alpha.0 from path ../../bin/cache/dart-sdk/lib/front_end
if
(
message
==
'Warning: You are using these overridden dependencies:'
)
return
null
;
if
(
message
.
contains
(
_analyzerWarning
))
...
...
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