From b21d0de0d695fdf286d793ed128e396480caa453 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Tue, 23 Oct 2018 19:02:42 -0700 Subject: [PATCH] Revert "Add explicit completed status trace to hot reload and restart commands" (#23445) * Revert "Remove duplicate code comment in flutter_gallery (#23422)" This reverts commit 8039620bb41047b3a43ca7e0ed48752cfb22ff51. * Revert "Add explicit completed status trace to hot reload and restart commands (#23338)" This reverts commit 245ef023b2aa26dbd59868d0d5705c115c18cfc3. --- packages/flutter_tools/lib/src/run_hot.dart | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/packages/flutter_tools/lib/src/run_hot.dart b/packages/flutter_tools/lib/src/run_hot.dart index ea2bd6d745..3ac58e91d1 100644 --- a/packages/flutter_tools/lib/src/run_hot.dart +++ b/packages/flutter_tools/lib/src/run_hot.dart @@ -517,8 +517,7 @@ class HotRunner extends ResidentRunner { } finally { status.cancel(); } - printStatus(' Restarted application in ${getElapsedAsMilliseconds(timer.elapsed)}.'); - printStatus('Hot restart completed.'); + printStatus('Restarted application in ${getElapsedAsMilliseconds(timer.elapsed)}.'); return OperationResult.ok; } else { final bool reloadOnTopOfSnapshot = _runningFromSnapshot; @@ -533,13 +532,10 @@ class HotRunner extends ResidentRunner { } finally { status.cancel(); } - if (result.isOk) { - printStatus(' ${result.message} in ${getElapsedAsMilliseconds(timer.elapsed)}.'); - } - if (result.hintMessage != null) { - printStatus('\n ${result.hintMessage}'); - } - printStatus('Hot reload completed.'); + if (result.isOk) + printStatus('${result.message} in ${getElapsedAsMilliseconds(timer.elapsed)}.'); + if (result.hintMessage != null) + printStatus('\n${result.hintMessage}'); return result; } }