这是indexloc提供的服务,不要输入任何密码
Skip to content

Re-allow users to not select an emulator UI port. #8626

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 23, 2025
Merged

Conversation

inlined
Copy link
Member

@inlined inlined commented May 19, 2025

Fixes #8621

Sorry; somehow I missed that there was a case where numbers are not required. Keeps the library's behavior of assuming that numbers are required, but allows explicitly overwriting this with a "reququired: false". This is the only value that can be provided to "required". Using type magic, the return type of number can only be defined if "required: false" is passed in.

Verified manually.

Fixes #8621

Sorry; somehow I missed that there was a case where numbers are not required.
Keeps the library's behavior of assuming that numbers are required, but allows
explicitly overwriting this with a "reququired: false". This is the only
value that can be provided to "required". Using type magic, the return type
of number can only be defined if "required: false" is passed in.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 51.08%. Comparing base (2263d68) to head (c24bbcd).
Report is 13 commits behind head on master.

Files with missing lines Patch % Lines
src/prompt.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8626      +/-   ##
==========================================
+ Coverage   51.04%   51.08%   +0.03%     
==========================================
  Files         431      431              
  Lines       30986    31001      +15     
  Branches     6367     6368       +1     
==========================================
+ Hits        15818    15837      +19     
+ Misses      13752    13749       -3     
+ Partials     1416     1415       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@joehan joehan enabled auto-merge (squash) May 23, 2025 16:46
@joehan joehan merged commit 0233555 into master May 23, 2025
48 of 50 checks passed
@joehan joehan deleted the inlined.optional-port branch May 23, 2025 16:56
@github-project-automation github-project-automation bot moved this from Approved [PR] to Done in [Cloud] Extensions + Functions May 23, 2025
TrCaM pushed a commit that referenced this pull request May 26, 2025
* Re-allow users to not select an emulator UI port.

Fixes #8621

Sorry; somehow I missed that there was a case where numbers are not required.
Keeps the library's behavior of assuming that numbers are required, but allows
explicitly overwriting this with a "reququired: false". This is the only
value that can be provided to "required". Using type magic, the return type
of number can only be defined if "required: false" is passed in.

* Format & changelog

---------

Co-authored-by: joehan <joehanley@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot leave firebase emulator initialisation CLI prompt empty when asked for port for Emulator UI despite instructions to the contrary
3 participants