diff options
Diffstat (limited to 'src/buildtool/execution_engine/executor')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index 546c5165..fb3593c8 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -260,7 +260,8 @@ class ExecutorImpl { ArtifactDigest const& digest, std::string const& hash) noexcept -> bool { std::optional<std::string> content; - if (digest.is_tree()) { + if (NativeSupport::IsTree( + static_cast<bazel_re::Digest>(digest).hash())) { // if known tree is not available, recursively upload its content auto tree = ReadGitTree(repo, hash); if (not tree) { |