mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 18:46:34 -05:00
Merge from vscode 4d91d96e5e121b38d33508cdef17868bab255eae
This commit is contained in:
committed by
AzureDataStudio
parent
a971aee5bd
commit
5e7071e466
6
src/bootstrap-fork.js
vendored
6
src/bootstrap-fork.js
vendored
@@ -109,6 +109,9 @@ function pipeLoggingToParent() {
|
||||
return res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {{ type: string; severity: string; arguments: string; }} arg
|
||||
*/
|
||||
function safeSend(arg) {
|
||||
try {
|
||||
process.send(arg);
|
||||
@@ -117,6 +120,9 @@ function pipeLoggingToParent() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {unknown} obj
|
||||
*/
|
||||
function isObject(obj) {
|
||||
return typeof obj === 'object'
|
||||
&& obj !== null
|
||||
|
||||
Reference in New Issue
Block a user