(
context: IExtensionContext,
standardOutputChannel: OutputChannel
)
| 137 | |
| 138 | // eslint-disable-next-line |
| 139 | function activateUnsafe( |
| 140 | context: IExtensionContext, |
| 141 | standardOutputChannel: OutputChannel |
| 142 | ): [IExtensionApi, Promise<void>, IServiceContainer] { |
| 143 | //=============================================== |
| 144 | // activation starts here |
| 145 | |
| 146 | const [serviceManager, serviceContainer] = initializeGlobals(context, standardOutputChannel); |
| 147 | |
| 148 | activatedServiceContainer = serviceContainer; |
| 149 | initializeTelemetryGlobals(() => Promise.resolve(new Map())); |
| 150 | const activationPromise = activateLegacy(context, serviceManager, serviceContainer); |
| 151 | |
| 152 | //=============================================== |
| 153 | // activation ends here |
| 154 | |
| 155 | const api = buildApi(activationPromise, serviceManager, serviceContainer, context); |
| 156 | return [api, activationPromise, serviceContainer]; |
| 157 | } |
| 158 | |
| 159 | ///////////////////////////// |
| 160 | // old activation code |
no test coverage detected