Skip to content

Commit 6696d58

Browse files
committed
fix deprecation in mk_all
1 parent 249f247 commit 6696d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mk_all.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def getLeanLibs : IO (Array String) := do
3030
| throw <| IO.userError "failed to load Lake workspace"
3131
let package := ws.root
3232
let libs := (package.leanLibs.map (·.name)).map (·.toString)
33-
return if package.name == `mathlib then
33+
return if package.baseName == `mathlib then
3434
libs.erase "Cache" |>.erase "LongestPole" |>.erase "MathlibTest"
3535
|>.push ("Mathlib".push pathSeparator ++ "Tactic")
3636
else

0 commit comments

Comments
 (0)