Skip to content

Commit

Permalink
Merge pull request #74 from lean-dojo/peiyang
Browse files Browse the repository at this point in the history
Fix lake monad bug
  • Loading branch information
Peiyang-Song authored May 25, 2024
2 parents 9b22717 + fde548a commit 62dfdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def afterReleaseSync {α : Type} (pkg : Package) (build : SpawnM (Job α)) : Fet
build


def afterReleaseAsync {α : Type} (pkg : Package) (build : BuildM α) : FetchM (Job α) := do
def afterReleaseAsync {α : Type} (pkg : Package) (build : JobM α) : FetchM (Job α) := do
if pkg.preferReleaseBuild ∧ pkg.name ≠ (← getRootPackage).name then
(← pkg.release.fetch).bindSync fun _ _ => build
else
Expand Down

0 comments on commit 62dfdc5

Please sign in to comment.