File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ class Cache {
520520 if (_hasWarnedAboutStorageOverride) {
521521 return ;
522522 }
523- _logger.printError (
523+ _logger.printWarning (
524524 'Flutter assets will be downloaded from $overrideUrl . Make sure you trust this source!' ,
525525 emphasis: true ,
526526 );
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ void main() {
319319 expect (() => cache.storageBaseUrl, throwsToolExit ());
320320 });
321321
322- testWithoutContext ('overridden storage base url prints warning to STDERR ' , () async {
322+ testWithoutContext ('overridden storage base url prints warning' , () async {
323323 final BufferLogger logger = BufferLogger .test ();
324324 const String baseUrl = 'https://storage.com' ;
325325 final Cache cache = Cache .test (
@@ -331,7 +331,7 @@ void main() {
331331 );
332332
333333 expect (cache.storageBaseUrl, baseUrl);
334- expect (logger.errorText , contains ('Flutter assets will be downloaded from $baseUrl ' ));
334+ expect (logger.warningText , contains ('Flutter assets will be downloaded from $baseUrl ' ));
335335 expect (logger.statusText, isEmpty);
336336 });
337337 });
You canβt perform that action at this time.
0 commit comments