Skip to content
Snippets Groups Projects
Commit b87a4b04 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix typo

parent 038806f5
No related branches found
No related tags found
No related merge requests found
......@@ -75,12 +75,12 @@ class WriteSummary(val root: Configurable) extends InProcessFunction with Config
for ((key, file) <- files) yield {
val map: mutable.Map[String, Any] = mutable.Map()
map += "path" -> file.getAbsolutePath
if (md5sum) map += "md5" -> parseChechsum(SummaryQScript.md5sumCache(file))
if (md5sum) map += "md5" -> parseChecksum(SummaryQScript.md5sumCache(file))
key -> map.toMap
}
}
def parseChechsum(checksumFile: File): String = {
def parseChecksum(checksumFile: File): String = {
Source.fromFile(checksumFile).getLines().toList.head.split(" ")(0)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment