Skip to content

Commit 31f2cd8

Browse files
authored
Release 0.20.1 (#67)
Fix bug where tinted-builder-rust displays logging information when `cargo apply` is run
1 parent b1e73dd commit 31f2cd8

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.20.1] - 2024-09-25
4+
5+
### Fixed
6+
7+
- Fix bug where `tinted-builder-rust` displays build information by
8+
default when `tinty apply` is run
9+
310
## [0.20.0] - 2024-09-25
411

512
### Added
@@ -178,6 +185,7 @@
178185

179186
- Initial release
180187

188+
[0.20.1]: https://github.com/tinted-theming/tinty/compare/v0.20.0...v0.20.1
181189
[0.20.0]: https://github.com/tinted-theming/tinty/compare/v0.19.0...v0.20.0
182190
[0.19.0]: https://github.com/tinted-theming/tinty/compare/v0.18.0...v0.19.0
183191
[0.18.0]: https://github.com/tinted-theming/tinty/compare/v0.17.0...v0.18.0

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tinty"
33
description = "Change the theme of your terminal, text editor and anything else with one command!"
4-
version = "0.20.0"
4+
version = "0.20.1"
55
edition = "2021"
66
license = "MIT"
77
readme = "README.md"

src/operations/apply.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub fn apply(
8484
let item_template_path: PathBuf =
8585
data_path.join(format!("{}/{}", REPO_DIR, &item_name));
8686

87-
build(&item_template_path, custom_schemes_path, is_quiet)?;
87+
build(&item_template_path, custom_schemes_path, true)?;
8888
}
8989

9090
Ok(())

tests/cli_apply_subcommand_tests.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ fn test_cli_apply_subcommand_with_custom_schemes() -> Result<()> {
178178
)?;
179179
let custom_scheme_file_path =
180180
data_path.join(format!("custom-schemes/base16/{}.yaml", scheme_name));
181-
let expected_output = format!(
182-
r#"Successfully generated "base16" themes for "base16" at "{}/repos/tinted-shell/scripts/*.sh"#,
183-
data_path.display()
184-
);
185181
let current_scheme_path = data_path.join(CURRENT_SCHEME_FILE_NAME);
186182
let scheme_content =
187183
fs::read_to_string(Path::new("./tests/fixtures/schemes/tinty-generated.yaml"))?;
@@ -201,7 +197,7 @@ fn test_cli_apply_subcommand_with_custom_schemes() -> Result<()> {
201197
scheme_name_with_system,
202198
);
203199
assert!(
204-
stdout.contains(&expected_output),
200+
stdout.is_empty(),
205201
"stdout does not contain the expected output"
206202
);
207203
assert!(

0 commit comments

Comments
 (0)