File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ def nonbreakingSpaceLinter : TextbasedLinter := fun opts lines ↦ Id.run do
262262 for h : idx in [:lines.size] do
263263 let line := lines[idx]
264264 let pos := line.find (· == ' ' )
265- if pos != line.rawEndPos then
265+ if pos != line.endPos then
266266 errors := errors.push (StyleError.nonbreakingSpace, idx + 1 )
267267 return (errors, none)
268268
Original file line number Diff line number Diff line change 6565 "type" : " git" ,
6666 "subDir" : null ,
6767 "scope" : " leanprover-community" ,
68- "rev" : " bda61ace1e2fbf73689899a8b3ca5fc74b0e21b1 " ,
68+ "rev" : " 80627bbde8b8a0474814092e1dd2aff89123cc1a " ,
6969 "name" : " batteries" ,
7070 "manifestFile" : " lake-manifest.json" ,
7171 "inputRev" : " nightly-testing" ,
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ update its toolchain to match Mathlib's and fetch the new cache.
177177-/
178178post_update pkg do
179179 let rootPkg ← getRootPackage
180- if rootPkg.name = pkg.name then
180+ if rootPkg.baseName = pkg.baseName then
181181 return -- do not run in Mathlib itself
182182 if (← IO.getEnv "MATHLIB_NO_CACHE_ON_UPDATE" ) != some "1" then
183183 -- Check if Lake version matches toolchain version
@@ -204,4 +204,4 @@ post_update pkg do
204204 finally
205205 IO.Process.setCurrentDir cwd
206206 if exitCode ≠ 0 then
207- error s! "{ pkg.name } : failed to fetch cache"
207+ error s! "{ pkg.baseName } : failed to fetch cache"
Original file line number Diff line number Diff line change 1- leanprover/lean4:nightly-2025-12-09
1+ leanprover/lean4:nightly-2025-12-10
You can’t perform that action at this time.
0 commit comments