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.
1 parent fe0cd50 commit 8b1ae7fCopy full SHA for 8b1ae7f
lib/git.js
@@ -2,11 +2,12 @@ module.exports = function( Release ) {
2
3
Release.define({
4
gitLog: function( format ) {
5
- var result = Release.exec({
6
- command: "git log " + Release.prevVersion + ".." + Release.newVersion + " " +
+ var command = "git log " + Release.prevVersion + ".." + Release.newVersion + " " +
7
"--format='" + format + "'",
8
- silent: true
9
- }, "Error getting git log." );
+ result = Release.exec({
+ command: command,
+ silent: true
10
+ }, "Error getting git log, command was: " + command );
11
12
result = result.split( /\r?\n/ );
13
if ( result[ result.length - 1 ] === "" ) {
0 commit comments