51
* enabled.
52
*/
54
>
shellLaunchConfig: IShellLaunchConfig,
55
>
options: ITerminalProcessOptions,
56
>
env: ITerminalEnvironment | undefined,
57
>
logService: ILogService,
58
>
productService: IProductService,
59
>
skipStickyBit: boolean = false
60
>
): Promise<IShellIntegrationConfigInjection | IShellIntegrationInjectionFailure> {
61
>
// The global setting is disabled
62
>
if (!options.shellIntegration.enabled) {
63
return { type: 'failure', reason: ShellIntegrationInjectionFailureReason.InjectionSettingDisabled };
64
}