Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(695)

Unified Diff: lib/src/io.dart

Issue 2256623003: Fix more strong mode errors and warnings. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/git.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/io.dart
diff --git a/lib/src/io.dart b/lib/src/io.dart
index 9ea932de0f031f14c113fa0edf1d55e2f977a25b..c27fe464b149617540c15c693ad379363ec86e5c 100644
--- a/lib/src/io.dart
+++ b/lib/src/io.dart
@@ -683,7 +683,7 @@ Future store(Stream stream, EventSink sink,
/// the inherited variables.
Future<PubProcessResult> runProcess(String executable, List<String> args,
{workingDir, Map<String, String> environment, bool runInShell: false}) {
- return _descriptorPool.withResource(() async {
+ return _descriptorPool.withResource/*<Future<PubProcessResult>>*/(() async {
var result = await _doProcess(Process.run, executable, args,
workingDir: workingDir,
environment: environment,
« no previous file with comments | « lib/src/git.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698