Commit 128fe14d authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

comact_sha: ease debugging

parent 33a93bf7
......@@ -12,8 +12,10 @@ function compactSha(hash, prefix='o') {
function objectSha(obj, prefix='o') {
const hash = sha()
hash.write(stringify(obj))
return compactSha(hash, prefix)
const sObj = stringify(obj)
hash.write(sObj)
const cSha = compactSha(hash, prefix)
return cSha
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment