Skip to content

Commit

Permalink
fixup! make test pass on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Heuzard committed May 28, 2024
1 parent 25f2a03 commit e01437d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/display.ml
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ let event di ?(pretend=false) command target tags =
if di.di_log_level >= 2 then Format.fprintf di.di_formatter "[cache hit] %s\n%!" command
end
else
(if di.di_log_level >= 1 then Format.fprintf di.di_formatter "%s\n%!" command)
(if di.di_log_level >= 1 then Format.fprintf di.di_formatter "+ %s\n%!" command)
| Sophisticated ds ->
set_target_sophisticated ds target tags pretend;
update_sophisticated ds
Expand Down
2 changes: 1 addition & 1 deletion src/shell.ml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let run args target =
let cmd = String.concat " " (List.map quote_filename_if_needed args) in
if !*My_unix.is_degraded || Sys.os_type = "Win32" then
begin
if false then Log.event cmd target Tags.empty;
Log.event cmd target Tags.empty;
let st = sys_command cmd in
if st <> 0 then
failwith (Printf.sprintf "Error during command `%s'.\nExit code %d.\n" cmd st)
Expand Down

0 comments on commit e01437d

Please sign in to comment.