Skip to content

Commit

Permalink
fix: falsynes, sigh
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jul 25, 2020
1 parent dae75c9 commit 0c31be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/notifier/src/notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import { producePromise } from '@agoric/produce-promise';
// update.
export const produceNotifier = (...args) => {
let nextPromiseKit = producePromise();
let currentUpdateCount = 0;
let currentUpdateCount = 1; // avoid falsy numbers
let currentResponse;

if (args.length >= 1) {
Expand Down

0 comments on commit 0c31be2

Please sign in to comment.