This website works better with JavaScript.
首頁
探索
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Fixes retry action for Git commands
main
Eric Amodio
3 年之前
父節點
0fbfb88da4
當前提交
e6c7334b06
共有
2 個文件被更改
,包括
7 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/commands/quickCommand.buttons.ts
+1
-2
src/commands/quickCommand.ts
+ 6
- 0
src/commands/quickCommand.buttons.ts
查看文件
@ -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
查看文件
@ -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
;
}
Write
Preview
Loading…
取消
儲存