[infer][buck] remove the "captured" subdirectory for Java projects

Reviewed By: sblackshear

Differential Revision: D6793069

fbshipit-source-id: bce2248
master
Jeremy Dubreil 7 years ago committed by Facebook Github Bot
parent 30112cbcb0
commit 432ba7f447

@ -75,12 +75,15 @@ let clean_results_dir () =
let should_delete_dir =
let dirs_to_delete =
let open Config in
let common_list =
[ backend_stats_dir_name
; classnames_dir_name
; frontend_stats_dir_name
; multicore_dir_name
; reporting_stats_dir_name ]
in
if flavors then common_list else captured_dir_name :: common_list
in
List.mem ~equal:String.equal dirs_to_delete
in
let should_delete_file =

Loading…
Cancel
Save