mirror of
https://github.com/sharkdp/bat.git
synced 2025-04-18 16:50:33 +01:00
Print info about custom assets in --diagnostics
This commit is contained in:
parent
47e0dc22d2
commit
520081a92c
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
## Other
|
## 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
|
## Syntaxes
|
||||||
|
|
||||||
|
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -155,9 +155,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bugreport"
|
name = "bugreport"
|
||||||
version = "0.4.1"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "0014b4b2b4f63bfe69c3838470121290cc437fdc79785d408a761a21e8b2404c"
|
checksum = "535120b8182547808081a66f1f77a64533c780b23da26763e0ee34dfb94f98c9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"git-version",
|
"git-version",
|
||||||
"shell-escape",
|
"shell-escape",
|
||||||
|
@ -60,7 +60,7 @@ serde_yaml = "0.8"
|
|||||||
semver = "1.0"
|
semver = "1.0"
|
||||||
path_abs = { version = "0.5", default-features = false }
|
path_abs = { version = "0.5", default-features = false }
|
||||||
clircle = "0.3"
|
clircle = "0.3"
|
||||||
bugreport = { version = "0.4", optional = true }
|
bugreport = { version = "0.5.0", optional = true }
|
||||||
dirs-next = { version = "2.0.0", optional = true }
|
dirs-next = { version = "2.0.0", optional = true }
|
||||||
grep-cli = { version = "0.1.6", optional = true }
|
grep-cli = { version = "0.1.6", optional = true }
|
||||||
regex = { version = "1.5.5", optional = true }
|
regex = { version = "1.5.5", optional = true }
|
||||||
|
@ -261,6 +261,10 @@ fn invoke_bugreport(app: &App) {
|
|||||||
"Custom assets metadata",
|
"Custom assets metadata",
|
||||||
custom_assets_metadata,
|
custom_assets_metadata,
|
||||||
))
|
))
|
||||||
|
.info(DirectoryEntries::new(
|
||||||
|
"Custom assets",
|
||||||
|
PROJECT_DIRS.cache_dir(),
|
||||||
|
))
|
||||||
.info(CompileTimeInformation::default());
|
.info(CompileTimeInformation::default());
|
||||||
|
|
||||||
#[cfg(feature = "paging")]
|
#[cfg(feature = "paging")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user