Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 9, 2019
1 parent a073c07 commit f193bb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const execCommand = async function(input, opts) {
// TODO: sometimes execa adds stdout|stderr, but we don't want that
// (maybe removes anything after first newline?)
const getError = function({ error }) {
// By passing `error`, we make sure `execa` `error` properties are kept.
return new PluginError('gulp-execa', error, {
// All error properties are summarized in the error message, i.e. we don't
// need to print them.
Expand Down

0 comments on commit f193bb3

Please sign in to comment.