Skip to content

Commit

Permalink
fix: stderr indent
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Nov 4, 2017
1 parent d801415 commit cc433d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions __snapshots__/execa-wrap-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports['fields filter 1'] = `
index.js
windows-spec.js
-------
`

exports['ls src 1'] = `
Expand Down Expand Up @@ -58,5 +58,5 @@ exports['single field filter 1'] = `
index.js
windows-spec.js
-------
`
6 changes: 2 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@ const makeFilteredText = result => {
message += ` stdout:
-------
${result.stdout}
-------
`
-------\n`
}
if (result.stderr) {
message += ` stderr:
-------
${result.stderr}
-------
`
-------\n`
}
return message
}
Expand Down

0 comments on commit cc433d8

Please sign in to comment.