File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11## [ Unreleased]
22
3+ ### Bugfixes
4+
5+ * Fix ` test-lean ` failure when LEAN project directory exists but is incomplete
6+
7+ ## v25.12.1
8+
39### Enhancements
410
511* Integrate ` libcurl ` for HTTP requests, replacing external ` curl ` /` wget ` tools
Original file line number Diff line number Diff line change @@ -367,6 +367,12 @@ bool LeanFormula::initializeLeanProject() {
367367 return true ;
368368 }
369369
370+ // If directory exists but lakefile doesn't, clean up incomplete initialization
371+ if (isDir (projectDir)) {
372+ Log::get ().info (" Removing incomplete LEAN project at " + projectDir);
373+ rmDirRecursive (projectDir);
374+ }
375+
370376 Log::get ().info (" Initializing LEAN project at " + projectDir);
371377
372378 // Use lake to create a new Lean project with Mathlib dependency
You can’t perform that action at this time.
0 commit comments