[config] Default to --allow-specs-cleanup

Reviewed By: akotulski

Differential Revision: D4110719

fbshipit-source-id: c6cfcb2
master
Josh Berdine 8 years ago committed by Facebook Github Bot
parent 32a60e05f4
commit c729d26386

@ -233,10 +233,6 @@ class AnalyzerWrapper(object):
]
infer_options = []
# remove specs if possible so that old issues are less likely
# to be reported
infer_options += ['-allow_specs_cleanup']
infer_options += ['-inferconfig_home', utils.decode(os.getcwd())]
if self.args.analyzer == config.ANALYZER_ERADICATE:

@ -505,7 +505,7 @@ and allow_leak =
"Forget leaked memory during abstraction"
and allow_specs_cleanup =
CLOpt.mk_bool ~deprecated:["allow_specs_cleanup"] ~long:"allow-specs-cleanup"
CLOpt.mk_bool ~deprecated:["allow_specs_cleanup"] ~long:"allow-specs-cleanup" ~default:true
"Allow to remove existing specs before running analysis when it's not incremental"
and (

Loading…
Cancel
Save