Selaa lähdekoodia

Avoids as any

main
Eric Amodio 3 vuotta sitten
vanhempi
commit
7555abecd8
3 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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 Näytä tiedosto

@ -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 Näytä tiedosto

@ -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 Näytä tiedosto

@ -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;

Ladataan…
Peruuta
Tallenna