Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 17, 2024
1 parent 5835735 commit e5163e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/firehose/lib/src/health/license.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion pkgs/repo_manage/lib/issue_transfer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ class TransferIssuesCommand extends ReportCommand {
);
}
}
await Future<void>.delayed(const Duration(milliseconds: 500));
var transferredIssues = await _transferMutation(
issueIdChunk.map((issue) => issue.id).toList(),
repositoryId,
Expand All @@ -189,7 +190,7 @@ class TransferIssuesCommand extends ReportCommand {
return allIssueIds;
}
allIssueIds.addAll(transferredIssues.$1);
await Future<void>.delayed(const Duration(seconds: 1));
await Future<void>.delayed(const Duration(milliseconds: 500));
}

if (!applyChanges) {
Expand Down

0 comments on commit e5163e6

Please sign in to comment.