Skip to content

Print the whole abroad addresses report through a pipe - #285

Merged
hkdobrev merged 1 commit into
mainfrom
fix/abroad-addresses-cli-output
Oct 26, 2026
Merged

hkdobrev merged 1 commit into
mainfrom
fix/abroad-addresses-cli-output

Conversation

@hkdobrev

Copy link
Copy Markdown
Member

Follow-up to #284. npm run sections:update-abroad-addresses called process.exit() right after console.log, which cut off the JSON report when stdout is a pipe (seen when running the staging load over ssh: the summary on stderr was fine, the JSON stopped mid-string). It now sets process.exitCode. Checked locally: a 3000-row dry run prints the complete JSON through a pipe.

process.exit() right after console.log cut the JSON report off when
stdout was a pipe, as when the CLI runs over ssh.
@hkdobrev
hkdobrev merged commit 5bc9433 into main Oct 26, 2026
1 check passed
@hkdobrev
hkdobrev deleted the fix/abroad-addresses-cli-output branch October 26, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant