Skip to content

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented Apr 27, 2025

perf: connectivity meta icon

@fit2bot fit2bot requested a review from a team April 27, 2025 10:49
password_err: 'text-danger',
openssh_key_err: 'text-danger',
ntlm_err: 'text-danger',
create_dir_err: 'text-danger'
},
getText({ cellValue }) {
if (cellValue?.value === '-' || cellValue?.value === 'unknown') {
Copy link
Member

Choose a reason for hiding this comment

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

In the given code, changes can be made to improve readability.

Changes:

  1. Ensure there is a space after const keyword.
  2. Add proper line endings (Unix style).
  3. Use double quotes instead of single quotes around keys in object property names.

Example Improved Code:
export const connectivityMeta = {
authErr:
{
'-': '',
// Remove this comment if all error messages are strings,
};

The improved code has better formatting, making it easier to read and navigate through.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@feng626 feng626 merged commit d634c76 into dev Apr 27, 2025
4 of 6 checks passed
@feng626 feng626 deleted the pr@dev@connectivityMeta branch April 27, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants