From 7aac96a195a42b245fc41ce1b91fc20cfac2016c Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Wed, 8 Mar 2023 11:05:02 -0800 Subject: [PATCH] Fix typo with `clientOS` (#20819) --- .../debugger/extension/configuration/resolvers/attach.ts | 4 ++-- src/client/debugger/extension/configuration/resolvers/base.ts | 2 +- .../debugger/extension/configuration/resolvers/launch.ts | 2 +- src/client/debugger/types.ts | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/client/debugger/extension/configuration/resolvers/attach.ts b/src/client/debugger/extension/configuration/resolvers/attach.ts index 096317bb065b..bdc72680d861 100644 --- a/src/client/debugger/extension/configuration/resolvers/attach.ts +++ b/src/client/debugger/extension/configuration/resolvers/attach.ts @@ -26,7 +26,7 @@ export class AttachConfigurationResolver extends BaseConfigurationResolver dbgConfig.debugOptions!.indexOf(item) === pos, ); } - if (debugConfiguration.clienOS === undefined) { + if (debugConfiguration.clientOS === undefined) { debugConfiguration.clientOS = getOSType() === OSType.Windows ? 'windows' : 'unix'; } return debugConfiguration; @@ -80,7 +80,7 @@ export class AttachConfigurationResolver extends BaseConfigurationResolver debugConfiguration: DebugConfiguration, _token?: CancellationToken, ): Promise { - if (debugConfiguration.clienOS === undefined) { + if (debugConfiguration.clientOS === undefined) { debugConfiguration.clientOS = getOSType() === OSType.Windows ? 'windows' : 'unix'; } return debugConfiguration as T; diff --git a/src/client/debugger/extension/configuration/resolvers/launch.ts b/src/client/debugger/extension/configuration/resolvers/launch.ts index 9513384f1277..485091119eb3 100644 --- a/src/client/debugger/extension/configuration/resolvers/launch.ts +++ b/src/client/debugger/extension/configuration/resolvers/launch.ts @@ -50,7 +50,7 @@ export class LaunchConfigurationResolver extends BaseConfigurationResolver