File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @firebase/util ' : patch
3
+ ---
4
+
5
+ Reformat a comment that causes compile errors in some build toolchains.
Original file line number Diff line number Diff line change @@ -53,8 +53,11 @@ const getDefaultsFromGlobal = (): FirebaseDefaults | undefined =>
53
53
54
54
/**
55
55
* Attempt to read defaults from a JSON string provided to
56
- * process.env.__FIREBASE_DEFAULTS__ or a JSON file whose path is in
57
- * process.env.__FIREBASE_DEFAULTS_PATH__
56
+ * process(.)env(.)__FIREBASE_DEFAULTS__ or a JSON file whose path is in
57
+ * process(.)env(.)__FIREBASE_DEFAULTS_PATH__
58
+ * The dots are in parens because certain compilers (Vite?) cannot
59
+ * handle seeing that variable in comments.
60
+ * See https://github.com/firebase/firebase-js-sdk/issues/6838
58
61
*/
59
62
const getDefaultsFromEnvVariable = ( ) : FirebaseDefaults | undefined => {
60
63
if ( typeof process === 'undefined' || typeof process . env === 'undefined' ) {
You can’t perform that action at this time.
0 commit comments