refactor: cleans up some unused suffix code until we figure out how to reimplement
This commit is contained in:
parent
2a2331e79f
commit
8209d036cd
3 changed files with 4 additions and 12 deletions
|
|
@ -47,9 +47,3 @@ export function getTxtFiles(): TxtFile[] {
|
|||
return sortByPinnedThenDate(files);
|
||||
}
|
||||
|
||||
export function getTxtFileNames(): string[] {
|
||||
const txtDir = getTxtDir();
|
||||
if (!fs.existsSync(txtDir)) return [];
|
||||
|
||||
return fs.readdirSync(txtDir).filter(file => file.endsWith('.txt'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue