We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb5df3 commit 04620bcCopy full SHA for 04620bc
packages/firestore/src/util/bundle_reader_sync_impl.ts
@@ -17,7 +17,7 @@
17
18
import { BundleMetadata } from '../protos/firestore_bundle_proto';
19
import { JsonProtoSerializer } from '../remote/serializer';
20
-import { Code, FirestoreError } from '../util/error'
+import { Code, FirestoreError } from '../util/error';
21
22
import { BundleReaderSync, SizedBundleElement } from './bundle_reader';
23
@@ -87,7 +87,8 @@ export class BundleReaderSyncImpl implements BundleReaderSync {
87
if (this.cursor + length > this.bundleData.length) {
88
throw new FirestoreError(
89
Code.INTERNAL,
90
- 'Reached the end of bundle when more is expected.');
+ 'Reached the end of bundle when more is expected.'
91
+ );
92
}
93
const result = this.bundleData.slice(this.cursor, (this.cursor += length));
94
return result;
0 commit comments