Skip to content

Commit

Permalink
Fix Azure Resource Manager rules coverage (#3853)
Browse files Browse the repository at this point in the history
* Fix Azure Resource Manager rules coverage

* Fix Azure Resource Manager rules coverage
  • Loading branch information
mstachniuk authored Apr 10, 2024
1 parent 18811ba commit 10b4c2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ frontend_tests_task:
<<: *CONTAINER_DEFINITION
dockerfile: ci/frontend-tests-dockerfile
cpu: 1
memory: 2G
memory: 3G
node_modules_cache:
folder: frontend/node_modules
reupload_on_changes: false # since there is a fingerprint script
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/RulePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ type UsedStyles = ReturnType<typeof useStyles>;
const languageToJiraProject = new Map(Object.entries({
'PYTHON': 'SONARPY',
'ABAP': 'SONARABAP',
'AZURERESOURCEMANAGER': 'SONARIAC',
'AZURE_RESOURCE_MANAGER': 'SONARIAC',
'CFAMILY': 'CPP',
'DOCKER': 'SONARIAC',
'JAVA': 'SONARJAVA',
Expand Down Expand Up @@ -177,7 +177,7 @@ const languageToJiraProject = new Map(Object.entries({

const languageToGithubProject = new Map(Object.entries({
'ABAP': 'sonar-abap',
'AZURERESOURCEMANAGER': 'sonar-iac',
'AZURE_RESOURCE_MANAGER': 'sonar-iac',
'CSHARP': 'sonar-dotnet',
'DOCKER': 'sonar-iac',
'VBNET': 'sonar-dotnet',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/useRuleCoverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type RuleCoverage = Record<string, Record<string, Version>>;
const languageToSonarpedia = new Map<string, string[]>(Object.entries({
'abap': ['ABAP'],
'apex': ['APEX'],
'azureresourcemanager': ['AZURERESOURCEMANAGER'],
'azureresourcemanager': ['AZURE_RESOURCE_MANAGER'],
'cfamily': ['CPP', 'C', 'OBJC'],
'cobol': ['COBOL'],
'csharp': ['CSH'],
Expand Down

0 comments on commit 10b4c2c

Please sign in to comment.