Re: Bug#862051: nodejs (6.11.2~dfsg-1) experimental; urgency=medium

2017-09-01 Thread Dominique Dumont
On Thursday, 31 August 2017 13:08:58 CEST Sam Hartman wrote:
> There are cases where people mix stderr and stdout.  There are cases
> where people treat any unexpected output on stderr as a failure in
> automated scripts.

I rest my case. Thanks for the explanation. :-)

All the best




Re: Bug#862051: nodejs (6.11.2~dfsg-1) experimental; urgency=medium

2017-08-31 Thread Dominique Dumont
On Thursday, 31 August 2017 13:58:23 CEST Thorsten Glaser wrote:
> > How about printing a "nice" warning explaining it would be a good idea to
> > move to /usr/bin/node ?
>
> That will break scripts that do:
> 
> x=$(nodejs somescript)

This kind of script won't break if the deprecation warning is sent to STDERR

All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org