Skip to content

Commit

Permalink
s/i/attempt/
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Jan 13, 2020
1 parent 9347d92 commit 4453668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/src/transaction.ts
Expand Up @@ -411,7 +411,7 @@ export class Transaction {
let result: T;
let lastError: Error | undefined = undefined;

for (let i = 0; i < maxAttempts; ++i) {
for (let attempt = 0; attempt < maxAttempts; ++attempt) {
if (lastError) {
logger(
'Firestore.runTransaction',
Expand Down

0 comments on commit 4453668

Please sign in to comment.