Skip to content

Commit

Permalink
Print info about custom assets in --diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
Enselic committed Apr 2, 2022
1 parent 47e0dc2 commit 520081a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
4 changes: 4 additions & 0 deletions src/bin/bat/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 520081a

Please sign in to comment.