We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 290625e commit 4d35a52Copy full SHA for 4d35a52
app/lib/shared/configuration.dart
@@ -423,7 +423,7 @@ final class Configuration {
423
publicPackagesBucketName!,
424
searchSnapshotBucketName!,
425
taskResultBucketName!,
426
- exportedApiBucketName!,
+ if (exportedApiBucketName != null) exportedApiBucketName!,
427
]);
428
429
late final isProduction = projectId == 'dartlang-pub';
app/test/shared/configuration_test.dart
@@ -77,6 +77,9 @@ void main() {
77
if (config.isProduction) {
78
expect(rateLimits, hasLength(greaterThan(10)));
79
}
80
+
81
+ // expect bucket names are non-null
82
+ expect(config.allBucketNames, isNotEmpty);
83
84
});
85
0 commit comments