[orx-git-archiver] Remove trailing whitespace in commit hash (#194)

This commit is contained in:
Steven van den Broek
2021-09-21 08:17:13 +02:00
committed by GitHub
parent 7f3fa1b5e2
commit 3e9801091f

View File

@@ -23,7 +23,7 @@ class NativeGit : GitProvider {
}
override fun headReference(): String {
return "git rev-parse --short HEAD".runCommand(dir)!!.first
return "git rev-parse --short HEAD".runCommand(dir)!!.first.trimEnd()
}
}