Skip to content

Commit

Permalink
Fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
hakatashi committed Sep 26, 2017
1 parent f5c3189 commit e0f4e2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assignment-notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ module.exports = () => Promise.try(() => {

pushAssignment();

assert(assignments.length > 5);
console.log({assignments});
assert(assignments.length > 0);

return redis.saddAsync('temp', ...assignments.map(it => it.id)).then(() => (
Promise.all([
Expand Down

0 comments on commit e0f4e2c

Please sign in to comment.