File tree 4 files changed +5
-4
lines changed
extension/configuration/resolvers
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
26
26
( item , pos ) => dbgConfig . debugOptions ! . indexOf ( item ) === pos ,
27
27
) ;
28
28
}
29
- if ( debugConfiguration . clienOS === undefined ) {
29
+ if ( debugConfiguration . clientOS === undefined ) {
30
30
debugConfiguration . clientOS = getOSType ( ) === OSType . Windows ? 'windows' : 'unix' ;
31
31
}
32
32
return debugConfiguration ;
@@ -80,7 +80,7 @@ export class AttachConfigurationResolver extends BaseConfigurationResolver<Attac
80
80
if ( getOSType ( ) === OSType . Windows && isLocalHost ) {
81
81
AttachConfigurationResolver . debugOption ( debugOptions , DebugOptions . FixFilePathCase ) ;
82
82
}
83
- if ( debugConfiguration . clienOS === undefined ) {
83
+ if ( debugConfiguration . clientOS === undefined ) {
84
84
debugConfiguration . clientOS = getOSType ( ) === OSType . Windows ? 'windows' : 'unix' ;
85
85
}
86
86
if ( debugConfiguration . showReturnValue ) {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export abstract class BaseConfigurationResolver<T extends DebugConfiguration>
46
46
debugConfiguration : DebugConfiguration ,
47
47
_token ?: CancellationToken ,
48
48
) : Promise < T | undefined > {
49
- if ( debugConfiguration . clienOS === undefined ) {
49
+ if ( debugConfiguration . clientOS === undefined ) {
50
50
debugConfiguration . clientOS = getOSType ( ) === OSType . Windows ? 'windows' : 'unix' ;
51
51
}
52
52
return debugConfiguration as T ;
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class LaunchConfigurationResolver extends BaseConfigurationResolver<Launc
50
50
51
51
const workspaceFolder = LaunchConfigurationResolver . getWorkspaceFolder ( folder ) ;
52
52
await this . resolveAndUpdatePaths ( workspaceFolder , debugConfiguration ) ;
53
- if ( debugConfiguration . clienOS === undefined ) {
53
+ if ( debugConfiguration . clientOS === undefined ) {
54
54
debugConfiguration . clientOS = getOSType ( ) === OSType . Windows ? 'windows' : 'unix' ;
55
55
}
56
56
return debugConfiguration ;
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ interface ICommonDebugArguments {
59
59
subProcess ?: boolean ;
60
60
// An absolute path to local directory with source.
61
61
pathMappings ?: PathMapping [ ] ;
62
+ clientOS ?: 'windows' | 'unix' ;
62
63
}
63
64
interface IKnownAttachDebugArguments extends ICommonDebugArguments {
64
65
workspaceFolder ?: string ;
You can’t perform that action at this time.
0 commit comments