Skip to content

Commit

Permalink
chore: fix Sonar code duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
hdJerry committed Aug 18, 2023
1 parent be7c92d commit 625b557
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ OpenPullRequests.args = {
state: 'open',
merged_at: null,
repository_url: '/',
url: '/',
comments: 3,
url: '/1',
comments: 11,
labels: [{ name: 'dependency', color: '633bcc' }],
},
{
Expand All @@ -58,8 +58,8 @@ OpenPullRequests.args = {
state: 'open',
merged_at: null,
repository_url: '/',
url: '/',
comments: 3,
url: '/23',
comments: 30,
labels: [],
},
{
Expand All @@ -70,8 +70,8 @@ OpenPullRequests.args = {
state: 'open',
merged_at: null,
repository_url: '/',
url: '/',
comments: 3,
url: '/12',
comments: 12,
labels: [],
},
],
Expand All @@ -92,8 +92,8 @@ MergedPullRequests.args = {
isMerged: true,
merged_at: new Date(date),
repository_url: '/',
url: '/',
comments: 3,
url: '/x',
comments: 10,
labels: [],
},
{
Expand All @@ -105,8 +105,8 @@ MergedPullRequests.args = {
isMerged: true,
merged_at: new Date(date),
repository_url: '/',
url: '/',
comments: 3,
url: '/bc',
comments: 0,
labels: [],
},
],
Expand All @@ -125,8 +125,8 @@ ClosedPullRequests.args = {
state: 'closed',
merged_at: null,
repository_url: '/',
url: '/',
comments: 3,
url: '/ab',
comments: 1,
labels: [],
},
{
Expand All @@ -137,8 +137,8 @@ ClosedPullRequests.args = {
state: 'closed',
merged_at: null,
repository_url: '/',
url: '/',
comments: 3,
url: '/a',
comments: 0,
labels: [],
},
],
Expand Down

0 comments on commit 625b557

Please sign in to comment.