Skip to content

Commit 2c9e5b5

Browse files
committed
Fix compile errors
1 parent 3185684 commit 2c9e5b5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/tests/scenario.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,27 @@ export class Scenario {
5151
}
5252

5353
public static getDefaultLaunchArgs(platform: string, appRoot: string, emulator: boolean): DebugProtocol.LaunchRequestArguments {
54-
return {
54+
let args = {
5555
platform: platform,
5656
request: "launch",
5757
appRoot: appRoot,
5858
sourceMaps: true,
5959
emulator: emulator,
6060
tnsArgs: `${process.env.DeviceId ? `--device ${process.env.DeviceId}` : ''}`
61-
}
61+
};
62+
return args;
6263
}
6364

6465
public static getDefaultAttachArgs(platform: string, appRoot: string, emulator: boolean): DebugProtocol.LaunchRequestArguments {
65-
return {
66+
let args = {
6667
platform: platform,
6768
request: "attach",
6869
appRoot: appRoot,
6970
sourceMaps: true,
7071
emulator: emulator,
7172
tnsArgs: `${process.env.DeviceId ? `--device ${process.env.DeviceId}` : ''}`
7273
}
74+
return args;
7375
}
7476

7577
constructor(client: NsDebugClient) {

0 commit comments

Comments
 (0)