Open jyyi1 opened 1 month ago
It just feels wrong to me, but okay! Disregard
On Fri, May 3, 2024, 12:01 PM Vinicius Fortuna @.***> wrote:
@.**** commented on this pull request.
In src/build/spawn_stream.mjs https://github.com/Jigsaw-Code/outline-apps/pull/1998#discussion_r1589399347 :
- childProcess.stderr.on('data', error => forEachMessageLine(error, line => stderr.push(line)));
- const stdErrPipe = newChildProcessOutputPipeTransform(line => {
BTW, as @jyyi1 https://github.com/jyyi1 pointed out, stderr output doesn't have to mean error. Logging uses that in general.
— Reply to this email directly, view it on GitHub https://github.com/Jigsaw-Code/outline-apps/pull/1998#discussion_r1589399347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4V5VADQ57SOUBGEETOZO3ZAOYFJAVCNFSM6AAAAABGWENO5SVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAMZYGQ4DCMZUGY . You are receiving this because your review was requested.Message ID: @.***>
This PR redirects
stderr
of a child process toconsole.error
. This allows us to view the build steps ofclient/src/tun2socks/build
, becausego run task
will output tostderr
.Additionally, unnecessary line breaks have been removed to improve the readability of the output.
Before
After