run prettier on everything
parent
e8554e349a
commit
0c0a7301af
|
@ -188,7 +188,8 @@
|
|||
weight += Math.max(14, this.daysBetween(now, task.effectiveDeferDate) * 2);
|
||||
}
|
||||
else if (task.effectiveDeferDate) {
|
||||
weight += Math.max(7, this.daysBetween(now, task.effectiveDeferDate)) / 2;
|
||||
weight +=
|
||||
Math.max(7, this.daysBetween(now, task.effectiveDeferDate)) / 2;
|
||||
}
|
||||
else if (task.added) {
|
||||
weight += Math.max(7, this.daysBetween(now, task.added)) / 2;
|
||||
|
|
|
@ -291,7 +291,8 @@
|
|||
this.daysBetween(now, task.effectiveDeferDate) * 2
|
||||
);
|
||||
} else if (task.effectiveDeferDate) {
|
||||
weight += Math.max(7, this.daysBetween(now, task.effectiveDeferDate)) / 2;
|
||||
weight +=
|
||||
Math.max(7, this.daysBetween(now, task.effectiveDeferDate)) / 2;
|
||||
} else if (task.added) {
|
||||
weight += Math.max(7, this.daysBetween(now, task.added)) / 2;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
t.taskStatus == Task.Status.Next ||
|
||||
t.taskStatus == Task.Status.Overdue)))
|
||||
.forEach((task) => {
|
||||
if (task.containingProject && toFocus.indexOf(task.containingProject) === -1) {
|
||||
if (task.containingProject &&
|
||||
toFocus.indexOf(task.containingProject) === -1) {
|
||||
toFocus.push(task.containingProject);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -16,7 +16,10 @@
|
|||
)
|
||||
)
|
||||
.forEach((task: Task) => {
|
||||
if (task.containingProject && toFocus.indexOf(task.containingProject) === -1) {
|
||||
if (
|
||||
task.containingProject &&
|
||||
toFocus.indexOf(task.containingProject) === -1
|
||||
) {
|
||||
toFocus.push(task.containingProject);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue