Skip to content

Commit e5163e6

Browse files
committed
some changes
1 parent 5835735 commit e5163e6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkgs/firehose/lib/src/health/license.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Done, found ${filesWithoutLicenses.length} files without license headers''');
4242
}
4343

4444
bool fileIsGenerated(String fileContents, String path) =>
45-
path.endsWith('g.dart') ||
45+
path.endsWith('.g.dart') ||
4646
fileContents
4747
.split('\n')
4848
.takeWhile((line) => line.startsWith('//') || line.isEmpty)

pkgs/repo_manage/lib/issue_transfer.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ class TransferIssuesCommand extends ReportCommand {
178178
);
179179
}
180180
}
181+
await Future<void>.delayed(const Duration(milliseconds: 500));
181182
var transferredIssues = await _transferMutation(
182183
issueIdChunk.map((issue) => issue.id).toList(),
183184
repositoryId,
@@ -189,7 +190,7 @@ class TransferIssuesCommand extends ReportCommand {
189190
return allIssueIds;
190191
}
191192
allIssueIds.addAll(transferredIssues.$1);
192-
await Future<void>.delayed(const Duration(seconds: 1));
193+
await Future<void>.delayed(const Duration(milliseconds: 500));
193194
}
194195

195196
if (!applyChanges) {

0 commit comments

Comments
 (0)