Merge pull request #1051 from SISheogorath/feature/fullversion

Fix wrong reading from commit
This commit is contained in:
Christoph (Sheogorath) Kern
2018-11-12 14:21:03 +01:00
committed by GitHub

View File

@@ -33,7 +33,7 @@ exports.getGitCommit = function getGitCommit (repodir) {
reference = reference.substr(5).replace('\n', '')
reference = fs.readFileSync(path.resolve(repodir + '/.git', reference), 'utf8')
}
reference = reference.substr(5).replace('\n', '')
reference = reference.replace('\n', '')
return reference
}