Update src/lib/aggregate-read.ts
Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com>
This commit is contained in:
parent
141ed954bb
commit
264af1fd3b
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,9 @@ import type { ProjectScopeOption } from './project-scope';
|
|||
import { readIssuesFromDisk } from './read-issues';
|
||||
|
||||
function scopeIssueId(projectKey: string, issueId: string): string {
|
||||
if (issueId.includes('::')) {
|
||||
return issueId;
|
||||
}
|
||||
return `${projectKey}::${issueId}`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue