From 3c40c85506c4c435a31c798ead25c555caa66a2f Mon Sep 17 00:00:00 2001 From: Yegor Date: Thu, 6 Oct 2016 10:11:54 -0700 Subject: [PATCH] simplify lockfile-related message; move details to verbose level (#5556) --- packages/flutter_tools/lib/src/cache.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/flutter_tools/lib/src/cache.dart b/packages/flutter_tools/lib/src/cache.dart index 61474bb646..7941ab27c8 100644 --- a/packages/flutter_tools/lib/src/cache.dart +++ b/packages/flutter_tools/lib/src/cache.dart @@ -62,10 +62,11 @@ class Cache { locked = true; } on FileSystemException { if (!printed) { - printStatus('Waiting to be able to obtain lock of Flutter binary artifacts directory...'); + printTrace('Waiting to be able to obtain lock of Flutter binary artifacts directory: ${_lock.path}'); + printStatus('Waiting for another flutter command to release the startup lock...'); printed = true; } - await new Future/**/.delayed(const Duration(milliseconds: 50)); + await new Future.delayed(const Duration(milliseconds: 50)); } } }