Skip to content

Commit 5f62288

Browse files
committed
Fix --get-port flag name
1 parent 36f26b3 commit 5f62288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/project/androidProject.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class AndroidProject extends Project {
4646
public getDebugPortSync(tnsArgs?: string[]): number {
4747
let args: string[] = [];
4848
args = args.concat(tnsArgs);
49-
let output = this.cli.executeSync(["debug", "android", "--get--port"].concat(args), this.appRoot);
49+
let output = this.cli.executeSync(["debug", "android", "--get-port"].concat(args), this.appRoot);
5050
let port = parseInt(output.match("(?:debug port: )([\\d]{5})")[1]);
5151
return port;
5252
}

0 commit comments

Comments
 (0)