Skip to content

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Sep 9, 2024

Unforutnately, Functions Emulator monkey-patches the functions.config() method.

Not exposing the config() method in the default namespace crashes the functions emulator 😢 .

https://github.com/firebase/firebase-tools/blob/0e2ab54c522d40ec9fe874e108332427e4886e0a/src/emulator/functionsEmulatorRuntime.ts#L717

In the near future, we'll make monkey-patching robust in the emulator to not crash when functions.config() method is missing

Copy link
Contributor

@egilmorez egilmorez left a comment

Choose a reason for hiding this comment

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

LG to this primate. Thanks!

@taeold taeold added this pull request to the merge queue Sep 10, 2024
Merged via the queue into master with commit 0493271 Sep 10, 2024
13 checks passed
@taeold taeold deleted the dl-expose-config branch September 10, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants