fix(FN-5154): satisfy strict null checks in attribution helper
Fusion-Task-Id: FN-5154 Fusion-Task-Lineage: 1ca8d162-343b-4d55-bcba-c34efa331ac4
This commit is contained in:
committed by
gsxdsm
parent
d33cfaa7eb
commit
247437ef30
@@ -53,7 +53,7 @@ function extractTaskIdFromSubject(subject: string): {
|
||||
}
|
||||
|
||||
function taskIdsMatch(a: string | null, b: string): boolean {
|
||||
return Boolean(a) && a.toUpperCase() === b.toUpperCase();
|
||||
return a !== null && a.toUpperCase() === b.toUpperCase();
|
||||
}
|
||||
|
||||
export async function filterFilesToOwnTaskCommits(opts: DoneRangeAttributionOptions): Promise<DoneRangeAttributionResult> {
|
||||
|
||||
Reference in New Issue
Block a user