From 6f7cd25b3ac45dc2d5e693b9d5c024da60ecdc0c Mon Sep 17 00:00:00 2001 From: Martin Trojer Date: Wed, 7 Aug 2019 08:12:12 -0700 Subject: [PATCH] buck integration, no lonfer bail when .buckconfig is missing Reviewed By: ngorogiannis Differential Revision: D16687568 fbshipit-source-id: 67415ac9e --- infer/lib/python/inferlib/capture/buck.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/infer/lib/python/inferlib/capture/buck.py b/infer/lib/python/inferlib/capture/buck.py index 4d3f28d8c..9ea5ae715 100644 --- a/infer/lib/python/inferlib/capture/buck.py +++ b/infer/lib/python/inferlib/capture/buck.py @@ -211,11 +211,6 @@ class BuckAnalyzer: shutil.move(os.path.join(config.BUCK_OUT, filename), tmp) def _run_buck_with_flavors(self): - # TODO: Use buck to identify the project's root folder - if not os.path.isfile('.buckconfig'): - print('Please run this command from the folder where .buckconfig ' - 'is located') - return os.EX_USAGE env_vars = utils.read_env() infer_args = env_vars['INFER_ARGS'] if infer_args != '':