[buck] Use project_root as base for compilation data file instead of cwd

Reviewed By: dulmarod

Differential Revision: D19496545

fbshipit-source-id: 478ea4982
master
Martin Trojer 5 years ago committed by Facebook Github Bot
parent d673bb0073
commit 9e0922c269

@ -176,7 +176,7 @@ let check_xcpretty () =
let capture_with_compilation_database db_files = let capture_with_compilation_database db_files =
let root = Unix.getcwd () in let root = Config.project_root in
Config.clang_compilation_dbs := Config.clang_compilation_dbs :=
List.map db_files ~f:(function List.map db_files ~f:(function
| `Escaped fname -> | `Escaped fname ->

Loading…
Cancel
Save