Skip to content

feat: init errors/warnings go to stderr - #11

Open
Peeja wants to merge 1 commit into
mainfrom
feat/init-stderr
Open

feat: init errors/warnings go to stderr#11
Peeja wants to merge 1 commit into
mainfrom
feat/init-stderr

Conversation

@Peeja

@Peeja Peeja commented Apr 16, 2026

Copy link
Copy Markdown
Member

Just a little QOL.

Comment thread scripts/init.sh
Comment on lines 55 to 79
@@ -70,8 +72,10 @@ if [[ -x "$GENERATED_DIR/generate-proofs.sh" ]]; then
echo " Skipping proof generation (mkdelegation not available)"
fi
else
echo "WARNING: generate-proofs.sh not found or not executable"
echo " Proof generation will be skipped."
{
echo "WARNING: generate-proofs.sh not found or not executable"
echo " Proof generation will be skipped."
} >/dev/stderr
fi

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I've made a mistake in the implementation here, we should still print this error, but we should failed the entire operation if go isn't installed on the system. Now that #9 has landed go is structly required to use smelt since we use if for code generation.

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.

2 participants