Parcourir la source

Avoids as any

main
Eric Amodio il y a 3 ans
Parent
révision
7555abecd8
3 fichiers modifiés avec 3 ajouts et 3 suppressions
  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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

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

Chargement…
Annuler
Enregistrer