Skip to content

Commit 453fe0c

Browse files
fix(ios): types when passing port to env in xcodebuild (#2245)
1 parent 0e8cf75 commit 453fe0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-platform-apple/src/commands/buildCommand/buildProject.ts

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

172172
const port =
173-
'port' in args && typeof args.port === 'string' ? args.port : '';
173+
'port' in args && typeof args.port === 'number' ? String(args.port) : '';
174174

175175
return {
176176
env: {

0 commit comments

Comments
 (0)