Fix globalPlugins TSServer Flag

**Bug**
globalPlugins flag not being threaded through IOSession object properly

**Fix**
Pass these flags to superclass in IOSession
This commit is contained in:
Matt Bierner
2017-04-17 14:05:49 -07:00
parent f071928a9e
commit 6fd8653847
+3 -1
View File
@@ -401,7 +401,9 @@ namespace ts.server {
byteLength: Buffer.byteLength,
hrtime: process.hrtime,
logger,
canUseEvents});
canUseEvents,
globalPlugins: options.globalPlugins,
pluginProbeLocations: options.pluginProbeLocations});
if (telemetryEnabled && typingsInstaller) {
typingsInstaller.setTelemetrySender(this);