Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

203 B
Raw Blame
import { rmSync } from 'node:fs';

export function removeTempDirBestEffort(path: string): void {
  try {
    rmSync(path, { recursive: true, force: true, maxRetries: 3, retryDelay: 50 });
  } catch {}
}