Przeglądaj źródła

Avoids as any

main
Eric Amodio 3 lat temu
rodzic
commit
7555abecd8
3 zmienionych plików z 3 dodań i 3 usunięć
  1. +1
    -1
      src/commands/git/fetch.ts
  2. +1
    -1
      src/commands/git/pull.ts
  3. +1
    -1
      src/commands/git/push.ts

+ 1
- 1
src/commands/git/fetch.ts Wyświetl plik

@ -76,7 +76,7 @@ export class FetchGitCommand extends QuickCommand {
}
if (state.repos != null && !Array.isArray(state.repos)) {
state.repos = [state.repos as any];
state.repos = [state.repos as string];
}
let skippedStepOne = false;

+ 1
- 1
src/commands/git/pull.ts Wyświetl plik

@ -82,7 +82,7 @@ export class PullGitCommand extends QuickCommand {
}
if (state.repos != null && !Array.isArray(state.repos)) {
state.repos = [state.repos as any];
state.repos = [state.repos as string];
}
let skippedStepOne = false;

+ 1
- 1
src/commands/git/push.ts Wyświetl plik

@ -88,7 +88,7 @@ export class PushGitCommand extends QuickCommand {
}
if (state.repos != null && !Array.isArray(state.repos)) {
state.repos = [state.repos as any];
state.repos = [state.repos as string];
}
let skippedStepOne = false;

Ładowanie…
Anuluj
Zapisz