Skip to content

Commit

Permalink
.trim
Browse files Browse the repository at this point in the history
  • Loading branch information
nomeata committed Apr 17, 2024
1 parent d433172 commit bd89103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/SubVerso/Examples.lean
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ partial def loadExamples (leanProject : FilePath) : IO (NameMap (NameMap Example
let toolchainfile := projectDir / "lean-toolchain"
if !(← toolchainfile.pathExists) then
throw <| .userError s!"File {toolchainfile} doesn't exist, couldn't load project"
let toolchain := ← IO.FS.readFile toolchainfile
let toolchain := (← IO.FS.readFile toolchainfile).trim

-- Kludge: remove variables introduced by Lake. Clearing out DYLD_LIBRARY_PATH and
-- LD_LIBRARY_PATH is useful so the version selected by Elan doesn't get the wrong shared
Expand Down

0 comments on commit bd89103

Please sign in to comment.