Bläddra i källkod

Avoids as any

main
Eric Amodio 3 år sedan
förälder
incheckning
7555abecd8
3 ändrade filer med 3 tillägg och 3 borttagningar
  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 Visa fil

@ -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 Visa fil

@ -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 Visa fil

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

Laddar…
Avbryt
Spara