summaryrefslogtreecommitdiff
path: root/scripts/copy_files.cjs
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-18 00:23:57 -0700
committerN. Taylor Mullen <[email protected]>2025-05-18 00:25:53 -0700
commit3aaeb447396008ef098f09a5f633fd4a9620ccc4 (patch)
tree8949f0cbac9e81db82f512efce728ec1330772fc /scripts/copy_files.cjs
parenta0eb8e67c7786f5dbd49ce79e43ae4f039d080b5 (diff)
fix(shell): Improve error reporting for shell command failures
This commit enhances the tool to provide more informative feedback to the user when a shell command fails, especially in non-debug mode. Previously, if a command terminated due to a signal (e.g., SIGPIPE during a with no upstream) or failed without producing stdout/stderr, the user would see no output, making it difficult to diagnose the issue. Changes: - Modified to update the logic. - If a command produces no direct output but results in an error, signal, non-zero exit code, or user cancellation, a concise message indicating this outcome is now shown in . - Utilized the existing utility from for consistent error message formatting, which also resolved previous TypeScript type inference issues. This ensures users receive clearer feedback on command execution status, improving the tool's usability and aiding in troubleshooting. Fixes https://b.corp.google.com/issues/417998119
Diffstat (limited to 'scripts/copy_files.cjs')
0 files changed, 0 insertions, 0 deletions