Skip to content

Commit

Permalink
Rephrase Composer STDERR output prefix
Browse files Browse the repository at this point in the history
Fixes #307
  • Loading branch information
Gert-dev committed Jul 19, 2017
1 parent bae4b98 commit 7100a54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.0.2
* [Rephrase `Composer has errors to report` during installation](https://github.com/php-integrator/atom-base/issues/307)

## 3.0.1
* [Fix core installation issues on Windows because of maximum path limit being exceeded due to Composer generating temporary files during ZIP extraction](https://github.com/php-integrator/atom-base/issues/303)

Expand Down
4 changes: 3 additions & 1 deletion lib/ComposerService.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ class ComposerService
console.debug('Composer has something to say:', data.toString())

process.stderr.on 'data', (data) =>
console.warn('Composer has errors to report:', data.toString())
# Valid information is also sent via STDERR, see also
# https://github.com/composer/composer/issues/3787#issuecomment-76167739
console.warn('Composer has something to say:', data.toString())

process.on 'close', (code) =>
console.debug('Composer exited with status code:', code)
Expand Down

0 comments on commit 7100a54

Please sign in to comment.