Skip to content

Commit

Permalink
Forward startup options to bazel info
Browse files Browse the repository at this point in the history
  • Loading branch information
kiron1 committed Aug 8, 2023
1 parent abb232b commit ddac08e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bcc/bazel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ proto_error::proto_error(std::string const& what)
bazel
bazel::create(boost::filesystem::path const& bazel_path, std::vector<std::string> bazel_startup_options)
{
auto workspace = bazel_info(bazel_path, "workspace");
auto execution_root = bazel_info(bazel_path, "execution_root");
auto workspace = bazel_info(bazel_path, bazel_startup_options, "workspace");
auto execution_root = bazel_info(bazel_path, bazel_startup_options, "execution_root");

if (workspace.empty()) {
throw workspace_error();
Expand Down

0 comments on commit ddac08e

Please sign in to comment.