This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ class Cache {
520
520
if (_hasWarnedAboutStorageOverride) {
521
521
return ;
522
522
}
523
- _logger.printError (
523
+ _logger.printWarning (
524
524
'Flutter assets will be downloaded from $overrideUrl . Make sure you trust this source!' ,
525
525
emphasis: true ,
526
526
);
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ void main() {
319
319
expect (() => cache.storageBaseUrl, throwsToolExit ());
320
320
});
321
321
322
- testWithoutContext ('overridden storage base url prints warning to STDERR ' , () async {
322
+ testWithoutContext ('overridden storage base url prints warning' , () async {
323
323
final BufferLogger logger = BufferLogger .test ();
324
324
const String baseUrl = 'https://storage.com' ;
325
325
final Cache cache = Cache .test (
@@ -331,7 +331,7 @@ void main() {
331
331
);
332
332
333
333
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 ' ));
335
335
expect (logger.statusText, isEmpty);
336
336
});
337
337
});
You canβt perform that action at this time.
0 commit comments