[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,11 +75,14 @@ let clean_results_dir () =
let should_delete_dir = let should_delete_dir =
let dirs_to_delete = let dirs_to_delete =
let open Config in let open Config in
[ backend_stats_dir_name let common_list =
; classnames_dir_name [ backend_stats_dir_name
; frontend_stats_dir_name ; classnames_dir_name
; multicore_dir_name ; frontend_stats_dir_name
; reporting_stats_dir_name ] ; multicore_dir_name
; reporting_stats_dir_name ]
in
if flavors then common_list else captured_dir_name :: common_list
in in
List.mem ~equal:String.equal dirs_to_delete List.mem ~equal:String.equal dirs_to_delete
in in

Loading…
Cancel
Save