Skip to content

Commit

Permalink
Reenable syncing of security advisories (#7564)
Browse files Browse the repository at this point in the history
  • Loading branch information
szakarias authored Mar 18, 2024
1 parent ed9156f commit 903c68a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/lib/tool/backfill/backfill_new_fields.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

import 'package:logging/logging.dart';
import 'package:pub_dev/service/security_advisories/sync_security_advisories.dart';

final _logger = Logger('backfill_new_fields');

Expand All @@ -12,5 +13,6 @@ final _logger = Logger('backfill_new_fields');
/// CHANGELOG.md must be updated with the new fields, and the next
/// release could remove the backfill from here.
Future<void> backfillNewFields() async {
_logger.info('Nothing to do.');
_logger.info('Resyncing all security advisories...');
await syncSecurityAdvisories(resync: true);
}

0 comments on commit 903c68a

Please sign in to comment.