Открыть боковую панель
code
vscode
Коммиты
4ec594fa
Не подтверждена
Коммит
4ec594fa
создал
Май 10, 2024
по автору
Ulugbek Abdullaev
Просмотр файлов
runCommands: fix: `safeStringify` throws `RangeError: Invalid string length` for too big objects
владелец
aef6b4c7
Изменения
1
Скрыть пробелы
Построчно
Рядом
src/vs/workbench/contrib/commands/common/commands.contribution.ts
Просмотр файла @
4ec594fa
...
...
@@ -102,9 +102,9 @@ class RunCommands extends Action2 {
logService
.
debug
(
`runCommands: executing
${
i
}
-th command:
${
safeStringify
(
cmd
)}
`
);
const
r
=
await
this
.
_runCommand
(
commandService
,
cmd
);
await
this
.
_runCommand
(
commandService
,
cmd
);
logService
.
debug
(
`runCommands: executed
${
i
}
-th command
with return value:
${
safeStringify
(
r
)}
`
);
logService
.
debug
(
`runCommands: executed
${
i
}
-th command`
);
}
}
catch
(
err
)
{
logService
.
debug
(
`runCommands: executing
${
i
}
-th command resulted in an error:
${
err
instanceof
Error
?
err
.
message
:
safeStringify
(
err
)}
`
);
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать