File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
extension/configuration/resolvers Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class AttachConfigurationResolver extends BaseConfigurationResolver<Attac
2626 ( item , pos ) => dbgConfig . debugOptions ! . indexOf ( item ) === pos ,
2727 ) ;
2828 }
29- if ( debugConfiguration . clienOS === undefined ) {
29+ if ( debugConfiguration . clientOS === undefined ) {
3030 debugConfiguration . clientOS = getOSType ( ) === OSType . Windows ? 'windows' : 'unix' ;
3131 }
3232 return debugConfiguration ;
@@ -80,7 +80,7 @@ export class AttachConfigurationResolver extends BaseConfigurationResolver<Attac
8080 if ( getOSType ( ) === OSType . Windows && isLocalHost ) {
8181 AttachConfigurationResolver . debugOption ( debugOptions , DebugOptions . FixFilePathCase ) ;
8282 }
83- if ( debugConfiguration . clienOS === undefined ) {
83+ if ( debugConfiguration . clientOS === undefined ) {
8484 debugConfiguration . clientOS = getOSType ( ) === OSType . Windows ? 'windows' : 'unix' ;
8585 }
8686 if ( debugConfiguration . showReturnValue ) {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export abstract class BaseConfigurationResolver<T extends DebugConfiguration>
4646 debugConfiguration : DebugConfiguration ,
4747 _token ?: CancellationToken ,
4848 ) : Promise < T | undefined > {
49- if ( debugConfiguration . clienOS === undefined ) {
49+ if ( debugConfiguration . clientOS === undefined ) {
5050 debugConfiguration . clientOS = getOSType ( ) === OSType . Windows ? 'windows' : 'unix' ;
5151 }
5252 return debugConfiguration as T ;
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class LaunchConfigurationResolver extends BaseConfigurationResolver<Launc
5050
5151 const workspaceFolder = LaunchConfigurationResolver . getWorkspaceFolder ( folder ) ;
5252 await this . resolveAndUpdatePaths ( workspaceFolder , debugConfiguration ) ;
53- if ( debugConfiguration . clienOS === undefined ) {
53+ if ( debugConfiguration . clientOS === undefined ) {
5454 debugConfiguration . clientOS = getOSType ( ) === OSType . Windows ? 'windows' : 'unix' ;
5555 }
5656 return debugConfiguration ;
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ interface ICommonDebugArguments {
5959 subProcess ?: boolean ;
6060 // An absolute path to local directory with source.
6161 pathMappings ?: PathMapping [ ] ;
62+ clientOS ?: 'windows' | 'unix' ;
6263}
6364interface IKnownAttachDebugArguments extends ICommonDebugArguments {
6465 workspaceFolder ?: string ;
You can’t perform that action at this time.
0 commit comments