Skip to content

Commit

Permalink
Update main-actions/src/main/scala/sbt/Tests.scala
Browse files Browse the repository at this point in the history
Co-authored-by: adpi2 <adrien.piquerez@gmail.com>
  • Loading branch information
eed3si9n and adpi2 committed Sep 17, 2024
1 parent bcd5714 commit baf644e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main-actions/src/main/scala/sbt/Tests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ object Tests {
*/
inline def Cleanup(inline cleanup: () => Unit) = ${ unitCleanupMacro('cleanup) }

def unitCleanupMacro(fn: Expr[() => Unit])(using Quotes): Expr[Cleanup] =
private def unitCleanupMacro(fn: Expr[() => Unit])(using Quotes): Expr[Cleanup] =
val codeDigest = Digest.sha256Hash(fn.show.getBytes("UTF-8"))
val codeDigestStr = Expr(codeDigest.toString())
'{
Expand Down

0 comments on commit baf644e

Please sign in to comment.