We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1453dc9 + 25d9b77 commit d884b56Copy full SHA for d884b56
lib/scm-data-generators/git.js
@@ -14,8 +14,8 @@ module.exports = CoreObject.extend({
14
simpleGit(_this.path).log(function(err, log) {
15
var info = log.latest;
16
resolve({
17
- sha: info.hash.substring(1),
18
- email: info.author_email.substring(0, info.author_email.length - 1),
+ sha: info.hash.replace("'",''),
+ email: info.author_email.replace("'",''),
19
name: info.author_name,
20
timestamp: new Date(info.date).toISOString(),
21
branch: gitRepoInfo().branch,
0 commit comments