Skip to content

Commit

Permalink
Fix lake monad bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Peiyang-Song committed May 25, 2024
1 parent 9b22717 commit fde548a
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 fde548a

Please sign in to comment.