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 authored Sep 17, 2024
1 parent 1baa71f commit e0ad3ef
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 @@ -77,7 +77,7 @@ object Tests {
*/
inline def Setup(inline setup: () => Unit): Setup = ${ unitSetupMacro('setup) }

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

0 comments on commit e0ad3ef

Please sign in to comment.