refactor: trim hook helper exports

This commit is contained in:
Peter Steinberger
2026-05-02 07:27:03 +01:00
parent 59449d7f19
commit 238867ca51
2 changed files with 1 additions and 8 deletions

View File

@@ -88,7 +88,7 @@ export async function getRecentSessionContentWithResetFallback(
}
}
export function stripResetSuffix(fileName: string): string {
function stripResetSuffix(fileName: string): string {
const resetIndex = fileName.indexOf(".reset.");
return resetIndex === -1 ? fileName : fileName.slice(0, resetIndex);
}

View File

@@ -233,10 +233,3 @@ export async function stopGmailWatcher(): Promise<void> {
currentConfig = null;
log.info("gmail watcher stopped");
}
/**
* Check if the Gmail watcher is running.
*/
export function isGmailWatcherRunning(): boolean {
return watcherProcess !== null && !shuttingDown;
}