Fixes a bug where extensions emulator was not appearing in the registry #5242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes a bug where extensions emulator was not appearing in the registry.
#5079 subtly changed the configs/ endpoint to use EmulatorInfo.name instead of emulator (https://github.com/firebase/firebase-tools/pull/5079/files#diff-07ee97578863300681bbd61b6886c20684286a13f3c6c6404176f48f66b22f36). ExtensionsEmulator.getInfo() was returning the info of the functions emulator, which meant that the extensions emulator would no longer be listed. This PR fixes getInfo to return the correct name
Scenarios Tested
Extensions emulator tab is now active when extensions are running:
Instance info pages work too: