diff --git a/CHANGELOG.md b/CHANGELOG.md index b8533e8d..6447c1eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ ## Other -- Include contents of custom assets `metadata.yaml` in `--diagnostics`. See #2107 (@Enselic) +- Include info about custom assets in `--diagnostics` if used. See #2107, #2144 (@Enselic) ## Syntaxes diff --git a/Cargo.lock b/Cargo.lock index 9ab01a80..d855dae9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -155,9 +155,9 @@ dependencies = [ [[package]] name = "bugreport" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0014b4b2b4f63bfe69c3838470121290cc437fdc79785d408a761a21e8b2404c" +checksum = "535120b8182547808081a66f1f77a64533c780b23da26763e0ee34dfb94f98c9" dependencies = [ "git-version", "shell-escape", diff --git a/Cargo.toml b/Cargo.toml index 41a43b66..33834e92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ serde_yaml = "0.8" semver = "1.0" path_abs = { version = "0.5", default-features = false } clircle = "0.3" -bugreport = { version = "0.4", optional = true } +bugreport = { version = "0.5.0", optional = true } dirs-next = { version = "2.0.0", optional = true } grep-cli = { version = "0.1.6", optional = true } regex = { version = "1.5.5", optional = true } diff --git a/src/bin/bat/main.rs b/src/bin/bat/main.rs index 7275c94a..6b2daa2b 100644 --- a/src/bin/bat/main.rs +++ b/src/bin/bat/main.rs @@ -261,6 +261,10 @@ fn invoke_bugreport(app: &App) { "Custom assets metadata", custom_assets_metadata, )) + .info(DirectoryEntries::new( + "Custom assets", + PROJECT_DIRS.cache_dir(), + )) .info(CompileTimeInformation::default()); #[cfg(feature = "paging")]