Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
convertes string to array
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharatkk-metron committed Jul 24, 2024
1 parent 3f6d11c commit a88b6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/finding/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function getSeverities(instanceConfig: SonarqubeIntegrationConfig) {

// V2 -> 10.4 or above version
if (apiVersion == APIVersion.V1) {
return severities ? severities: V1_SEVERITIES_VALUES;
return severities ? severities.split(',') : V1_SEVERITIES_VALUES;
}
return severitiesSet.size === 0
? V2_SEVERITIES_VALUES
Expand Down

0 comments on commit a88b6e6

Please sign in to comment.