Skip to content

Commit

Permalink
Merge pull request #31 from ember-cli-deploy/test-fix
Browse files Browse the repository at this point in the history
[BUGFIX] Remove ' from commit hash if needed
  • Loading branch information
lukemelia committed Apr 1, 2016
2 parents 1453dc9 + 25d9b77 commit d884b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/scm-data-generators/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ module.exports = CoreObject.extend({
simpleGit(_this.path).log(function(err, log) {
var info = log.latest;
resolve({
sha: info.hash.substring(1),
email: info.author_email.substring(0, info.author_email.length - 1),
sha: info.hash.replace("'",''),
email: info.author_email.replace("'",''),
name: info.author_name,
timestamp: new Date(info.date).toISOString(),
branch: gitRepoInfo().branch,
Expand Down

0 comments on commit d884b56

Please sign in to comment.