Skip to content

Commit 6588bf1

Browse files
finally
1 parent b09df7a commit 6588bf1

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

dist/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,16 +481,15 @@ async function updateReadme(data) {
481481
`🌸 Completed ${days_items[0].total_completed.toString()} tasks today`,
482482
];
483483
todoist.push(dailyGoal);
484-
485-
const totalTasks = [`✅ Completed ${Humanize.intComma(completed_count)} tasks so far`];
486-
todoist.push(totalTasks);
487484

488485
if(PREMIUM) {
489486
const weekItems = [`🗓 Completed ${week_items[0].total_completed.toString()} tasks this week`];
490487
todoist.push(weekItems);
491488
}
492-
493489

490+
const totalTasks = [`✅ Completed ${Humanize.intComma(completed_count)} tasks so far`];
491+
todoist.push(totalTasks);
492+
494493
const longestStreak = [
495494
`⏳ Longest streak is ${goals.max_daily_streak.count} days`,
496495
];

index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@ async function updateReadme(data) {
2828
`🌸 Completed ${days_items[0].total_completed.toString()} tasks today`,
2929
];
3030
todoist.push(dailyGoal);
31-
32-
const totalTasks = [`✅ Completed ${Humanize.intComma(completed_count)} tasks so far`];
33-
todoist.push(totalTasks);
3431

3532
if(PREMIUM) {
3633
const weekItems = [`🗓 Completed ${week_items[0].total_completed.toString()} tasks this week`];
3734
todoist.push(weekItems);
3835
}
39-
4036

37+
const totalTasks = [`✅ Completed ${Humanize.intComma(completed_count)} tasks so far`];
38+
todoist.push(totalTasks);
39+
4140
const longestStreak = [
4241
`⏳ Longest streak is ${goals.max_daily_streak.count} days`,
4342
];

0 commit comments

Comments
 (0)