Merge pull request #7990 from xuwei-k/extaHashes-typo

[2.x] fix typo
This commit is contained in:
eugene yokota 2025-01-01 03:05:58 -05:00 committed by GitHub
commit 308af6c695
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -158,9 +158,9 @@ class ClassStamper(
* @param className className to stamp
* @param extraHashes additional information to include into the returning digest
*/
private[sbt] def transitiveStamp(className: String, extaHashes: Seq[Digest]): Option[Digest] =
private[sbt] def transitiveStamp(className: String, extraHashes: Seq[Digest]): Option[Digest] =
val digests = SortedSet(analyses.flatMap(internalStamp(className, _, Set.empty))*)
if digests.nonEmpty then Some(Digest.sha256Hash(digests.toSeq ++ extaHashes*))
if digests.nonEmpty then Some(Digest.sha256Hash(digests.toSeq ++ extraHashes*))
else None
private def internalStamp(