Skip to content

Commit 1a59265

Browse files
committed
fixed lints
1 parent e9f71ee commit 1a59265

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/lib/package/backend.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ class PackageBackend {
482482
});
483483
await purgePackageCache(package);
484484
await taskBackend.trackPackage(package);
485-
await apiExporter!.synchronizePackage(package);
485+
await apiExporter.synchronizePackage(package);
486486
}
487487

488488
/// Updates [options] on [package]/[version], assuming the current user
@@ -523,7 +523,7 @@ class PackageBackend {
523523
await purgePackageCache(package);
524524
await purgeScorecardData(package, version,
525525
isLatest: pkg.latestVersion == version);
526-
await apiExporter!.synchronizePackage(package);
526+
await apiExporter.synchronizePackage(package);
527527
}
528528

529529
/// Verifies an update to the credential-less publishing settings and
@@ -788,7 +788,7 @@ class PackageBackend {
788788
if (currentPublisherId != null) {
789789
await purgePublisherCache(publisherId: currentPublisherId);
790790
}
791-
await apiExporter!.synchronizePackage(packageName);
791+
await apiExporter.synchronizePackage(packageName);
792792
return rs;
793793
}
794794

app/lib/task/backend.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ class TaskBackend {
724724

725725
// Clearing the state cache after the update.
726726
await _purgeCache(package, version);
727-
await apiExporter!.synchronizePackage(package);
727+
await apiExporter.synchronizePackage(package);
728728

729729
// If nothing else is running on the instance, delete it!
730730
// We do this in a microtask after returning, so that it doesn't slow down

0 commit comments

Comments
 (0)