Skip to content

Commit ed547b0

Browse files
jcasimirclaude
andcommitted
fix: Stop mixing stderr into fetched filename list
The 2>&1 on the fetch_files call caused any stderr warnings to be tokenized as filenames, leading to bogus copy/log entries. Capture only stdout for filenames and let stderr flow to the terminal. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ea822a4 commit ed547b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/compound-engineering/skills/refresh/sync-reviewers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ for (( i=num_sources-1; i>=0; i-- )); do
228228

229229
# Fetch files
230230
src_tmp=$(mktemp -d)
231-
fetched_files=$(fetch_files "$repo" "$branch" "$path" "$src_tmp" 2>&1) || {
231+
fetched_files=$(fetch_files "$repo" "$branch" "$path" "$src_tmp") || {
232232
echo " Failed to fetch from ${name}. Continuing."
233233
rm -rf "$src_tmp" "$except_file"
234234
continue

0 commit comments

Comments
 (0)