Merge pull request #17359 from Ma11hewThomas/fix/hotspots-reviewed-link
fix: amend getSecurityHotspotsUrl to conditionally remove project path
This commit is contained in:
@@ -127,9 +127,9 @@ export class SonarQubeClient implements SonarQubeApi {
|
||||
'en-US',
|
||||
)}&resolved=false&view=list`,
|
||||
getSecurityHotspotsUrl: () =>
|
||||
`${baseUrl}project/security_hotspots?id=${encodeURIComponent(
|
||||
componentKey,
|
||||
)}`,
|
||||
`${baseUrl}${
|
||||
baseUrl === 'https://sonarcloud.io/' ? 'project/' : ''
|
||||
}security_hotspots?id=${encodeURIComponent(componentKey)}`,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user