@trim21/personal-pi-extensions 0.0.190 → 0.0.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/todowrite.ts +1 -1
package/package.json
CHANGED
package/src/todowrite.ts
CHANGED
|
@@ -143,7 +143,7 @@ export function buildTodoMarkdown(todos: readonly TodoInfo[]): string {
|
|
|
143
143
|
* 过滤 cancelled(对应旧版 deleted),全部被过滤时返回 undefined 以清除 widget。
|
|
144
144
|
*/
|
|
145
145
|
export function buildTodoWidgetLines(todos: readonly TodoInfo[]): string[] | undefined {
|
|
146
|
-
const visible = todos
|
|
146
|
+
const visible = todos;
|
|
147
147
|
if (visible.length === 0) return undefined;
|
|
148
148
|
return visible.map((t) => formatTodoLine(t));
|
|
149
149
|
}
|