Skip to content

Commit 520081a

Browse files
committed
Print info about custom assets in --diagnostics
1 parent 47e0dc2 commit 520081a

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## Other
1212

13-
- Include contents of custom assets `metadata.yaml` in `--diagnostics`. See #2107 (@Enselic)
13+
- Include info about custom assets in `--diagnostics` if used. See #2107, #2144 (@Enselic)
1414

1515
## Syntaxes
1616

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ serde_yaml = "0.8"
6060
semver = "1.0"
6161
path_abs = { version = "0.5", default-features = false }
6262
clircle = "0.3"
63-
bugreport = { version = "0.4", optional = true }
63+
bugreport = { version = "0.5.0", optional = true }
6464
dirs-next = { version = "2.0.0", optional = true }
6565
grep-cli = { version = "0.1.6", optional = true }
6666
regex = { version = "1.5.5", optional = true }

src/bin/bat/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ fn invoke_bugreport(app: &App) {
261261
"Custom assets metadata",
262262
custom_assets_metadata,
263263
))
264+
.info(DirectoryEntries::new(
265+
"Custom assets",
266+
PROJECT_DIRS.cache_dir(),
267+
))
264268
.info(CompileTimeInformation::default());
265269

266270
#[cfg(feature = "paging")]

0 commit comments

Comments
 (0)