Trim comments and docs to what the code needs

AI Assisted
This commit is contained in:
Seth committed 2026-12-05 13:19:59 -08:00
1 parent eba3c3bf0c
commit 0bd721fc27
33 files changed
+292 -392

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ function isFolder(p) {
// Where the picker opens: beside the last folder added, else the original, else
// `fallback`. A start deleted on disk walks up to its nearest folder still there,
// since a picker cannot open at a missing folder and would fail as unavailable.
// since a picker cannot open at a missing folder.
export function pickerStart(ws, fallback) {
const added = ws.folders.filter((f) => !f.original);
const wanted = added.length ? path.dirname(added[added.length - 1].path) : ws.folders[0]?.path || fallback;