Skip to content

Commit

Permalink
Expose the command line as a public property.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed May 28, 2014
1 parent 2077ecf commit b1ef5f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/PngQuant.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function PngQuant(pngQuantArgs) {
}

this.writable = this.readable = true;
this.commandLine = binPath + (pngQuantArgs ? ' ' + pngQuantArgs.join(' ') : ''); // For debugging
this.pngQuantProcess = childProcess.spawn(binPath, pngQuantArgs);

this.hasEnded = false;
Expand Down

0 comments on commit b1ef5f5

Please sign in to comment.