Repository URL to install this package:
Version:
1.9.1-1486597190 ▾
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
function safeStringify(e){var t,n=[];if(e.length)for(var r=0;r<e.length;r++)if("undefined"==typeof e[r])e[r]="undefined";else if(e[r]instanceof Error){var o=e[r];o.stack?e[r]=o.stack:e[r]=o.toString()}try{t=JSON.stringify(e,function(e,t){if(t&&"[object Object]"===Object.prototype.toString.call(t)){if(n.indexOf(t)!==-1)return Object.create(null);n.push(t)}return t})}catch(e){return"Output omitted for an object that cannot be inspected ("+e.toString()+")"}return t&&t.length>MAX_LENGTH?"Output omitted for a large object that exceeds the limits":t}function safeSend(e){try{process.send(e)}catch(e){}}if(process.noAsar=!0,process.send&&"true"===process.env.PIPE_LOGGING){var MAX_LENGTH=1e5;"true"===process.env.VERBOSE_LOGGING?(console.log=function(){safeSend({type:"__$console",severity:"log",arguments:safeStringify(arguments)})},console.info=function(){safeSend({type:"__$console",severity:"log",arguments:safeStringify(arguments)})},console.warn=function(){safeSend({type:"__$console",severity:"warn",arguments:safeStringify(arguments)})}):(console.log=function(){},console.warn=function(){},console.info=function(){}),console.error=function(){safeSend({type:"__$console",severity:"error",arguments:safeStringify(arguments)})}}if(!process.env.VSCODE_ALLOW_IO){var stream=require("stream"),writable=new stream.Writable({write:function(){}});process.__defineGetter__("stdout",function(){return writable}),process.__defineGetter__("stderr",function(){return writable}),process.__defineGetter__("stdin",function(){return writable})}if(process.on("uncaughtException",function(e){console.error("Uncaught Exception: ",e.toString()),e.stack&&console.error(e.stack)}),process.env.VSCODE_PARENT_PID){const parentPid=Number(process.env.VSCODE_PARENT_PID);"number"!=typeof parentPid||isNaN(parentPid)||setInterval(function(){try{process.kill(parentPid,0)}catch(e){process.exit()}},5e3)}require("./bootstrap-amd").bootstrap(process.env.AMD_ENTRYPOINT);
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/f9d0c687ff2ea7aabd85fb9a43129117c0ecf519/core/bootstrap.js.map