Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Volgen
1
Ster
0
Vork
0
Code
Kwesties
0
Pull-aanvragen
0
Publicaties
0
Wiki
Activiteit
Bladeren bron
Fixes retry action for Git commands
main
Eric Amodio
3 jaren geleden
bovenliggende
0fbfb88da4
commit
e6c7334b06
2 gewijzigde bestanden
met
toevoegingen van 7
en
2 verwijderingen
Zij-aan-zij weergave
Diff opties
Statistieken weergeven
Download Patch-bestand
Download Diff-bestand
+6
-0
src/commands/quickCommand.buttons.ts
+1
-2
src/commands/quickCommand.ts
+ 6
- 0
src/commands/quickCommand.buttons.ts
Bestand weergeven
@ -37,6 +37,12 @@ export class ToggleQuickInputButton implements QuickInputButton {
this
.
_on
=
value
;
}
/
*
*
*
*
@param
quickInput
*
@returns
`
true
`
if
the
step
should
be
retried
(
refreshed
)
*
*
/
onDidClick
?
(
quickInput
:
QuickInput
)
:
boolean
|
void
|
Promise
<
boolean
|
void
>
;
private
getState() {
+ 1
- 2
src/commands/quickCommand.ts
Bestand weergeven
@ -190,8 +190,7 @@ export abstract class QuickCommand
implements QuickPickItem {
}
async
retry
(
)
:
Promise
<
QuickPickStep
|
QuickInputStep
|
undefined
>
{
await
this
.
next
(
Directive
.
Back
)
;
await
this
.
next
(
)
;
await
this
.
next
(
Directive
.
Noop
)
;
return
this
.
value
;
}
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan