Quellcode durchsuchen

Avoids as any

main
Eric Amodio vor 3 Jahren
Ursprung
Commit
7555abecd8
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  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 Datei anzeigen

@ -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 Datei anzeigen

@ -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 Datei anzeigen

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

Laden…
Abbrechen
Speichern