Skip to content

Commit

Permalink
chore: Fix lint some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mkleszcz committed Feb 5, 2024
1 parent d25c313 commit 123bd6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/base.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
}
}

async _run<T>() {
async _run<T>(): Promise<any> {

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (ubuntu-latest, lts/-1)

'T' is defined but never used

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (ubuntu-latest, lts/-1)

Unexpected any. Specify a different type

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (ubuntu-latest, lts/*)

'T' is defined but never used

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (ubuntu-latest, lts/*)

Unexpected any. Specify a different type

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (ubuntu-latest, latest)

'T' is defined but never used

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (ubuntu-latest, latest)

Unexpected any. Specify a different type

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (windows-latest, lts/-1)

'T' is defined but never used

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (windows-latest, lts/-1)

Unexpected any. Specify a different type

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (windows-latest, lts/*)

'T' is defined but never used

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (windows-latest, lts/*)

Unexpected any. Specify a different type

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (windows-latest, latest)

'T' is defined but never used

Check warning on line 43 in src/base.command.ts

View workflow job for this annotation

GitHub Actions / unit-tests / unit-tests (windows-latest, latest)

Unexpected any. Specify a different type
let err;
let result;
try {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/env-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class EnvLoaderUI {
protected promptConfig: EnvTemplateConfig = envPromptConfig
) {}

async load() {
async load(): Promise<void> {
// eslint-disable-next-line guard-for-in
for (const sectionKey in this.promptConfig) {
const envSection = this.promptConfig[sectionKey];
Expand All @@ -207,7 +207,7 @@ export class EnvLoaderUI {
}
}

getValue(name: string) {
getValue(name: string): string | null {
const v = this.envs[name] ?? null;
if (v !== null) {
return v;
Expand Down

0 comments on commit 123bd6e

Please sign in to comment.