Skip to content

Conversation

@mdqst
Copy link

@mdqst mdqst commented Oct 1, 2025

noticed a small issue in how we were setting silent for the compiler subprocess.
previously it used a combination of and/or which can lead to unexpected results.

changed it to a clear ternary expression:

silent = subprocess.DEVNULL if os.getenv("SOLC_SELECT_SILENT", "1") == "1" else None

now the behavior is straightforward and consistent.

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