Открыть боковую панель
code
vscode
Коммиты
27715fbb
Не подтверждена
Коммит
27715fbb
создал
Фев 13, 2024
по автору
Benjamin Pasero
Просмотр файлов
eng - prefix error to hunt down shared process error
владелец
b2598b92
Изменения
3
Скрыть пробелы
Построчно
Рядом
src/vs/platform/userDataProfile/electron-main/userDataProfileStorageIpc.ts
Просмотр файла @
27715fbb
...
...
@@ -97,7 +97,7 @@ export class ProfileStorageChangesListenerChannel extends Disposable implements
switch
(
event
)
{
case
'
onDidChange
'
:
return
this
.
_onDidChange
.
event
;
}
throw
new
Error
(
`Event not found:
${
event
}
`
);
throw
new
Error
(
`
[ProfileStorageChangesListenerChannel]
Event not found:
${
event
}
`
);
}
async
call
(
_
:
unknown
,
command
:
string
):
Promise
<
any
>
{
...
...
src/vs/platform/userDataSync/common/userDataSyncIpc.ts
Просмотр файла @
27715fbb
...
...
@@ -22,7 +22,7 @@ export class UserDataSyncAccountServiceChannel implements IServerChannel {
case
'
onDidChangeAccount
'
:
return
this
.
service
.
onDidChangeAccount
;
case
'
onTokenFailed
'
:
return
this
.
service
.
onTokenFailed
;
}
throw
new
Error
(
`Event not found:
${
event
}
`
);
throw
new
Error
(
`
[UserDataSyncAccountServiceChannel]
Event not found:
${
event
}
`
);
}
call
(
context
:
any
,
command
:
string
,
args
?:
any
):
Promise
<
any
>
{
...
...
@@ -70,7 +70,7 @@ export class UserDataSyncStoreManagementServiceChannel implements IServerChannel
switch
(
event
)
{
case
'
onDidChangeUserDataSyncStore
'
:
return
this
.
service
.
onDidChangeUserDataSyncStore
;
}
throw
new
Error
(
`Event not found:
${
event
}
`
);
throw
new
Error
(
`
[UserDataSyncStoreManagementServiceChannel]
Event not found:
${
event
}
`
);
}
call
(
context
:
any
,
command
:
string
,
args
?:
any
):
Promise
<
any
>
{
...
...
src/vs/platform/userDataSync/common/userDataSyncServiceIpc.ts
Просмотр файла @
27715fbb
...
...
@@ -51,7 +51,7 @@ export class UserDataSyncServiceChannel implements IServerChannel {
case
'
manualSync/onSynchronizeResources
'
:
return
this
.
onManualSynchronizeResources
.
event
;
}
throw
new
Error
(
`Event not found:
${
event
}
`
);
throw
new
Error
(
`
[UserDataSyncServiceChannel]
Event not found:
${
event
}
`
);
}
async
call
(
context
:
any
,
command
:
string
,
args
?:
any
):
Promise
<
any
>
{
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать