This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Removes unneeded async
main
Eric Amodio
6 years ago
parent
34af748d9b
commit
8943c25807
1 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
src/vsls/guest.ts
+ 3
- 3
src/vsls/guest.ts
View File
@ -44,13 +44,13 @@ export class VslsGuestService implements Disposable {
dispose() {
}
@log
(
)
private
async
onAvailabilityChanged
(
available
:
boolean
)
{
private
onAvailabilityChanged
(
available
:
boolean
)
{
if
(
available
)
{
setCommandContext
(
CommandContext
.
Enabled
,
true
)
;
void
setCommandContext
(
CommandContext
.
Enabled
,
true
)
;
return
;
}
setCommandContext
(
CommandContext
.
Enabled
,
false
)
;
void
setCommandContext
(
CommandContext
.
Enabled
,
false
)
;
void
window
.
showWarningMessage
(
`
GitLens features will be unavailable. Unable to connect to the host GitLens service. The host may have disabled GitLens guest access or may not have GitLens installed.
`
)
;
Write
Preview
Loading…
Cancel
Save