diff --git a/CHANGELOG.md b/CHANGELOG.md index f29ed911..ac77bbea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## v1.1.14 - UNRELEASED +### Added + +- **aiken**: New `-S` flag on `check` and `build` that blocks the printing of warnings but it still shows the total warning count. + ### Changed - **aiken-lang**: Prevent (type error) backpassing blocks with empty continuation. See [#1111](https://github.com/aiken-lang/aiken/issues/1111). @KtorZ diff --git a/crates/aiken-project/src/watch.rs b/crates/aiken-project/src/watch.rs index c96f611d..3756728e 100644 --- a/crates/aiken-project/src/watch.rs +++ b/crates/aiken-project/src/watch.rs @@ -159,7 +159,7 @@ where } } - if warning_count > 0 && deny && !silent { + if warning_count > 0 && deny { Err(ExitFailure::into_report()) } else { Ok(())