File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -51,25 +51,27 @@ export class Scenario {
51
51
}
52
52
53
53
public static getDefaultLaunchArgs ( platform : string , appRoot : string , emulator : boolean ) : DebugProtocol . LaunchRequestArguments {
54
- return {
54
+ let args = {
55
55
platform : platform ,
56
56
request : "launch" ,
57
57
appRoot : appRoot ,
58
58
sourceMaps : true ,
59
59
emulator : emulator ,
60
60
tnsArgs : `${ process . env . DeviceId ? `--device ${ process . env . DeviceId } ` : '' } `
61
- }
61
+ } ;
62
+ return args ;
62
63
}
63
64
64
65
public static getDefaultAttachArgs ( platform : string , appRoot : string , emulator : boolean ) : DebugProtocol . LaunchRequestArguments {
65
- return {
66
+ let args = {
66
67
platform : platform ,
67
68
request : "attach" ,
68
69
appRoot : appRoot ,
69
70
sourceMaps : true ,
70
71
emulator : emulator ,
71
72
tnsArgs : `${ process . env . DeviceId ? `--device ${ process . env . DeviceId } ` : '' } `
72
73
}
74
+ return args ;
73
75
}
74
76
75
77
constructor ( client : NsDebugClient ) {
You can’t perform that action at this time.
0 commit comments