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