Skip to content

Conversation

@devversion
Copy link
Member

This will be useful for a more generic server_test rule.

This will be useful for a more generic `server_test` rule.
@devversion devversion requested a review from josephperrott April 9, 2025 18:09
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Apr 9, 2025
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

.option('port', {type: 'number', default: 4200})
.option('port', {
type: 'number',
default: process.env['PORT'] !== undefined ? Number(process.env['PORT']) : 4200,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to do a NaN check as well? Probably not strictly necessary, but figured I would ask.

Copy link
Member Author

@devversion devversion Apr 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did consider it, but a runtime error is okay if this is off IMO; so will merge for now

@devversion devversion merged commit 40b1b25 into angular:main Apr 9, 2025
9 checks passed
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants