Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HCK-7062: fix Sonar reports #51

Merged
merged 1 commit into from
Jul 12, 2024
Merged

HCK-7062: fix Sonar reports #51

merged 1 commit into from
Jul 12, 2024

Conversation

AlikRakhmonov
Copy link
Contributor

@AlikRakhmonov AlikRakhmonov commented Jul 10, 2024

Sub-taskHCK-7062 MariaDB - Fix sonar reports

Copy link

@@ -198,19 +198,17 @@ module.exports = (baseProvider, options, app) => {
return '';
}

const allDeactivated = checkAllKeysDeactivated(index.indxKey || []);
const allDeactivated = checkAllKeysDeactivated(index.indxKey);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because it's checked here

const wholeStatementCommented = index.isActivated === false || !isParentActivated || allDeactivated;
const indexType = index.indexType ? `${_.toUpper(index.indexType)} ` : '';
const ifNotExist = index.ifNotExist ? 'IF NOT EXISTS ' : '';
const name = wrap(index.indxName || '', '`', '`');
const name = wrap(index.indxName, '`', '`');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because it's checked here

@taras-dubyk taras-dubyk enabled auto-merge July 11, 2024 12:29
@taras-dubyk taras-dubyk added this pull request to the merge queue Jul 11, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 11, 2024
@chulanovskyi-bs chulanovskyi-bs merged commit 2c155ac into develop Jul 12, 2024
4 checks passed
@chulanovskyi-bs chulanovskyi-bs deleted the HCK-7062 branch July 12, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants