Skip to content

Commit b8dd58b

Browse files
committed
address comments
1 parent 6a3c721 commit b8dd58b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/firestore/compat/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2017 Google LLC
3+
* Copyright 2021 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -63,7 +63,7 @@ const firestoreNamespace = {
6363
};
6464

6565
/**
66-
* Configures Firestore as part of the Firebase SDK by calling registerService.
66+
* Configures Firestore as part of the Firebase SDK by calling registerComponent.
6767
*
6868
* @param firebase - The FirebaseNamespace to register Firestore with
6969
* @param firestoreFactory - A factory function that returns a new Firestore

packages/firestore/compat/index.bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2020 Google LLC
3+
* Copyright 2021 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

scripts/exp/prepare-firestore-for-exp-release.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ export async function createFirestoreCompatProject() {
9595
rmdirSync(FIRESTORE_COMPAT_DEST, { recursive: true });
9696
}
9797

98-
copyRescursiveSync(FIRESTORE_COMPAT_SRC, FIRESTORE_COMPAT_DEST);
99-
copyRescursiveSync(
98+
copyRecursiveSync(FIRESTORE_COMPAT_SRC, FIRESTORE_COMPAT_DEST);
99+
copyRecursiveSync(
100100
FIRESTORE_COMPAT_BINARY_SRC,
101101
FIRESTORE_COMPAT_BINARY_DEST,
102102
/* include d.ts files*/ true
@@ -146,7 +146,7 @@ export async function createFirestoreCompatProject() {
146146
);
147147
}
148148

149-
function copyRescursiveSync(
149+
function copyRecursiveSync(
150150
src: string,
151151
dest: string,
152152
includeTs: boolean = false
@@ -160,7 +160,7 @@ function copyRescursiveSync(
160160
if (isDirectory) {
161161
mkdirSync(dest);
162162
for (const item of readdirSync(src)) {
163-
copyRescursiveSync(resolve(src, item), resolve(dest, item), includeTs);
163+
copyRecursiveSync(resolve(src, item), resolve(dest, item), includeTs);
164164
}
165165
} else {
166166
// do not copy source file

0 commit comments

Comments
 (0)