Skip to content

Conversation

@leoortizz
Copy link
Contributor

Apart from process.env.__FIREBASE_DEFAULTS__, check whether the Firebase JS SDK can be imported to assume that the app is using it. In some cases the env. variable was set even if the app was not using the Firebase JS SDK.

Fixes firebase/firebase-tools#5996

} catch (e) {
return false;
}
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: line break at end of files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see, there's no prettier config in this repo though, we should add it, probably use the same config as the CLI

@alexastrum alexastrum merged commit e08be85 into FirebaseExtended:main Jun 24, 2023
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 find package 'firebase' imported from /workspace/node_modules/firebase-frameworks/dist/firebase-aware.js

2 participants