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
f5eb12cd
Unverified
Commit
f5eb12cd
authored
Sep 02, 2019
by
Jonah Williams
Committed by
GitHub
Sep 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filter error message from skip build script checks (#39558)
parent
a3e37939
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
web_fs.dart
packages/flutter_tools/lib/src/build_runner/web_fs.dart
+9
-3
No files found.
packages/flutter_tools/lib/src/build_runner/web_fs.dart
View file @
f5eb12cd
...
...
@@ -301,6 +301,11 @@ class WebFs {
class
BuildDaemonCreator
{
const
BuildDaemonCreator
();
// TODO(jonahwilliams): find a way to get build checks working for flutter for web.
static
const
String
_ignoredLine1
=
'Warning: Interpreting this as package URI'
;
static
const
String
_ignoredLine2
=
'build_script.dart was not found in the asset graph, incremental builds will not work'
;
static
const
String
_ignoredLine3
=
'have your dependencies specified fully in your pubspec.yaml'
;
/// Start a build daemon and register the web targets.
Future
<
BuildDaemonClient
>
startBuildDaemon
(
String
workingDirectory
,
{
bool
release
=
false
,
bool
profile
=
false
})
async
{
try
{
...
...
@@ -360,9 +365,10 @@ class BuildDaemonCreator {
switch
(
serverLog
.
level
)
{
case
Level
.
SEVERE
:
case
Level
.
SHOUT
:
// This message is always returned once since we're running the
// build script from source.
if
(
serverLog
.
message
.
contains
(
'Warning: Interpreting this as package URI'
))
{
// Ignore certain non-actionable messages on startup.
if
(
serverLog
.
message
.
contains
(
_ignoredLine1
)
||
serverLog
.
message
.
contains
(
_ignoredLine2
)
||
serverLog
.
message
.
contains
(
_ignoredLine3
))
{
return
;
}
printError
(
serverLog
.
message
);
...
...
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