diff options
author | Christoph (Sheogorath) Kern | 2018-11-12 14:21:03 +0100 |
---|---|---|
committer | GitHub | 2018-11-12 14:21:03 +0100 |
commit | 4a39017fe0cceab6c82e1a6589a0dff6e621240c (patch) | |
tree | 389d209deb294603eec56712ca4d72ba1a8ed4c7 /lib/config | |
parent | 2a8b56e14b482faa38e9661ad0aa8d208085c50e (diff) | |
parent | 4b0528ac4fdcab4a72013dc3f3f48bd27bea74fd (diff) |
Merge pull request #1051 from SISheogorath/feature/fullversion
Fix wrong reading from commit
Diffstat (limited to '')
-rw-r--r-- | lib/config/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/utils.js b/lib/config/utils.js index dcc83638..9646f8c0 100644 --- a/lib/config/utils.js +++ b/lib/config/utils.js @@ -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 } |