diff --git a/pkgs/firehose/lib/src/health/license.dart b/pkgs/firehose/lib/src/health/license.dart index ae39d2e5..c58b502f 100644 --- a/pkgs/firehose/lib/src/health/license.dart +++ b/pkgs/firehose/lib/src/health/license.dart @@ -42,7 +42,7 @@ Done, found ${filesWithoutLicenses.length} files without license headers'''); } bool fileIsGenerated(String fileContents, String path) => - path.endsWith('g.dart') || + path.endsWith('.g.dart') || fileContents .split('\n') .takeWhile((line) => line.startsWith('//') || line.isEmpty) diff --git a/pkgs/repo_manage/lib/issue_transfer.dart b/pkgs/repo_manage/lib/issue_transfer.dart index b943f67e..5c2f06d8 100644 --- a/pkgs/repo_manage/lib/issue_transfer.dart +++ b/pkgs/repo_manage/lib/issue_transfer.dart @@ -178,6 +178,7 @@ class TransferIssuesCommand extends ReportCommand { ); } } + await Future.delayed(const Duration(milliseconds: 500)); var transferredIssues = await _transferMutation( issueIdChunk.map((issue) => issue.id).toList(), repositoryId, @@ -189,7 +190,7 @@ class TransferIssuesCommand extends ReportCommand { return allIssueIds; } allIssueIds.addAll(transferredIssues.$1); - await Future.delayed(const Duration(seconds: 1)); + await Future.delayed(const Duration(milliseconds: 500)); } if (!applyChanges) {