Skip to content

Commit 9e91575

Browse files
committed
fix(ios): types when passing port to env in xcodebuild (#2245)
1 parent 41f5c8c commit 9e91575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-platform-ios/src/commands/buildIOS/buildProject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function getProcessOptions<T extends BuildFlags>(
153153
: '';
154154

155155
const port =
156-
'port' in args && typeof args.port === 'string' ? args.port : '';
156+
'port' in args && typeof args.port === 'number' ? String(args.port) : '';
157157

158158
return {
159159
env: {

0 commit comments

Comments
 (0)