File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -291,14 +291,16 @@ fn collect_hooks(git_run_info: &GitRunInfo) -> eyre::Result<ReportEntry> {
291
291
292
292
Ok ( ReportEntry :: Text ( format ! (
293
293
"
294
+ Hooks directory: `{hooks_dir}`
295
+
294
296
<details>
295
- <summary>Show {} hooks</summary>
297
+ <summary>Show {num_hooks } hooks</summary>
296
298
297
- {}
299
+ {hook_lines }
298
300
299
301
</details>" ,
300
- num_hooks ,
301
- hook_lines. join( "\n " )
302
+ hooks_dir = hooks_dir . display ( ) ,
303
+ hook_lines = hook_lines . join( "\n " )
302
304
) ) )
303
305
}
304
306
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ fn test_bug_report() -> eyre::Result<()> {
36
36
let stdout = stdout. trim ( ) ;
37
37
38
38
insta:: assert_snapshot!( stdout, @r###"
39
+ Hooks directory: `<repo-path>/.git/hooks`
40
+
39
41
<details>
40
42
<summary>Show 7 hooks</summary>
41
43
You can’t perform that action at this time.
0 commit comments