[orx-git-archiver] Remove trailing whitespace in commit hash (#194)
This commit is contained in:
committed by
GitHub
parent
7f3fa1b5e2
commit
3e9801091f
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user