We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0831f39 commit 4b296faCopy full SHA for 4b296fa
src/dune_engine/print_diff.ml
@@ -89,16 +89,12 @@ let print ?(skip_trailing_cr = Sys.win32) path1 path2 =
89
| Some prog ->
90
let* () =
91
Process.run ~dir ~env:Env.initial Strict prog
92
- [ "-keep-whitespace"
93
- ; "-location-style"
94
- ; "omake"
95
- ; ( if Lazy.force Ansi_color.stderr_supports_color then
96
- "-unrefined"
+ ( [ "-keep-whitespace"; "-location-style"; "omake" ]
+ @ ( if Lazy.force Ansi_color.stderr_supports_color then
+ []
97
else
98
- "-ascii" )
99
- ; file1
100
- ; file2
101
- ]
+ [ "-ascii" ] )
+ @ [ file1; file2 ] )
102
in
103
(* Use "diff" if "patdiff" reported no differences *)
104
normal_diff () )
0 commit comments