From 7100a54a9a97ad2d6e77081b2da973784a5e0eff Mon Sep 17 00:00:00 2001 From: Gert Date: Wed, 19 Jul 2017 20:37:14 +0200 Subject: [PATCH] Rephrase Composer STDERR output prefix Fixes #307 --- CHANGELOG.md | 3 +++ lib/ComposerService.coffee | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 672c9d39..8dfe3153 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/lib/ComposerService.coffee b/lib/ComposerService.coffee index 591d7c28..1b5a9137 100644 --- a/lib/ComposerService.coffee +++ b/lib/ComposerService.coffee @@ -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)