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
6258f322
Unverified
Commit
6258f322
authored
Jul 24, 2018
by
Todd Volkert
Committed by
GitHub
Jul 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Fuchsia tools Dart 2 clean (#19727)
parent
68b0ba9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
fuchsia_asset_builder.dart
packages/flutter_tools/bin/fuchsia_asset_builder.dart
+3
-2
fuchsia_tester.dart
packages/flutter_tools/bin/fuchsia_tester.dart
+3
-2
context_runner.dart
packages/flutter_tools/lib/src/context_runner.dart
+1
-1
No files found.
packages/flutter_tools/bin/fuchsia_asset_builder.dart
View file @
6258f322
...
...
@@ -6,6 +6,7 @@ import 'dart:async';
import
'package:args/args.dart'
;
import
'package:flutter_tools/src/asset.dart'
;
import
'package:flutter_tools/src/base/context.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
as
libfs
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/base/platform.dart'
;
...
...
@@ -28,8 +29,8 @@ const List<String> _kRequiredOptions = <String>[
];
Future
<
Null
>
main
(
List
<
String
>
args
)
{
return
runInContext
<
Null
>(()
=>
run
(
args
),
overrides:
<
Type
,
dynamic
>{
Usage:
new
DisabledUsage
(),
return
runInContext
<
Null
>(()
=>
run
(
args
),
overrides:
<
Type
,
Generator
>{
Usage:
()
=>
new
DisabledUsage
(),
});
}
...
...
packages/flutter_tools/bin/fuchsia_tester.dart
View file @
6258f322
...
...
@@ -6,6 +6,7 @@ import 'dart:async';
import
'package:args/args.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/context.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
...
...
@@ -32,8 +33,8 @@ const String _kOptionCoverage = 'coverage';
const
String
_kOptionCoveragePath
=
'coverage-path'
;
void
main
(
List
<
String
>
args
)
{
runInContext
<
Null
>(()
=>
run
(
args
),
overrides:
<
Type
,
dynamic
>{
Usage:
new
DisabledUsage
(),
runInContext
<
Null
>(()
=>
run
(
args
),
overrides:
<
Type
,
Generator
>{
Usage:
()
=>
new
DisabledUsage
(),
});
}
...
...
packages/flutter_tools/lib/src/context_runner.dart
View file @
6258f322
...
...
@@ -37,7 +37,7 @@ import 'version.dart';
Future
<
T
>
runInContext
<
T
>(
FutureOr
<
T
>
runner
(),
{
Map
<
Type
,
dynamic
>
overrides
,
Map
<
Type
,
Generator
>
overrides
,
})
async
{
return
await
context
.
run
<
T
>(
name:
'global fallbacks'
,
...
...
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