Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/1883.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@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


6 changes: 3 additions & 3 deletions src/apps/cli/commands/config/auth/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { blueBright } from 'picocolors';
import { ConfigService, AuthEntry } from '@/domains/services/config.service';

export default class AuthAdd extends Command {
static description =
static readonly description =
'Add an authentication config for resolving $ref files requiring HTTP Authorization.';

static args = {
static readonly args = {
pattern: Args.string({
required: true,
description:
Expand All @@ -20,7 +20,7 @@ export default class AuthAdd extends Command {
}),
};

static flags = {
static readonly flags = {
'auth-type': Flags.string({
char: 'a',
description: 'Authentication type (default is "Bearer")',
Expand Down