cli icon indicating copy to clipboard operation
cli copied to clipboard

fix: make static properties readonly to resolve SonarCloud issue S1444

Open lightning-sagar opened this issue 3 months ago • 3 comments

Description

  • This PR fixes a SonarCloud issue related to mutable static fields (TypeScript rule S1444).
  • Made public static fields readonly in src/apps/cli/commands/config/auth/add.ts

Related issue(s) Part 1 - fixing #1881

lightning-sagar avatar Oct 27 '25 15:10 lightning-sagar

🦋 Changeset detected

Latest commit: 5be245f07f0d724db316dfcb0b9dfe3e78b5e6a2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@asyncapi/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Oct 27 '25 15:10 changeset-bot[bot]

Changeset has been generated for this PR as part of auto-changeset workflow.

Please review the changeset before merging the PR.
---
'@asyncapi/cli': patch
---

fix: make static properties readonly to resolve SonarCloud issue S1444

- 0955372: fix: make static properties readonly to resolve SonarCloud issue S1444
- d066eee: fix: make static properties readonly to resolve SonarCloud issue S1444

If you are a maintainer or the author of the PR, you can change the changeset by clicking here

[!TIP] If you don't want auto-changeset to run on this PR, you can add the label skip-changeset to the PR or remove the changeset and change PR title to something other than fix: or feat:.

github-actions[bot] avatar Oct 27 '25 15:10 github-actions[bot]