Max Karolinskiy
|
1686700f74
|
[cr145] Adds RunNodeRaw to brave_node.
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/f364a8e21e616f7f3b6befe67cec36f14a4d2494
commit f364a8e21e616f7f3b6befe67cec36f14a4d2494
Author: Fumitoshi Ukai <ukai@google.com>
Date: Tue Dec 2 21:46:11 2025 -0800
node.py: print stderr/stdout/exit status, attempt 2.
previous attempt e24157c11d87344aeeddb2b0f6353bf2947082e3
failed since eslint captures json output in RuntimeError message.
instead of parsing RuntimeError message of node.py,
introduce RunNodeRaw in node.Run and get (exitcode,stdout,stderr)
in JsChecker.RunEsLintCheck.
also introduce cwd to pass node.Run, instead of os.chdir before
calling node.Run.
Cq-Include-Trybots: luci.chromium.try:linux-presubmit,win-presubmit
Bug: 461602362
|
2026-01-29 13:40:37 -05:00 |
|