使用 JavaScript能使本网站更好的工作。
首页
广场
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
关注
1
点赞
0
派生
0
代码
话题
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Fixes retry action for Git commands
main
Eric Amodio
3 年前
父节点
0fbfb88da4
当前提交
e6c7334b06
共有
2 个文件被更改
,包括
7 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
;
}
撰写
预览
正在加载...
取消
保存