remove build mode check
@@ -236,11 +236,10 @@ class GraphManager(object):
def _load_graph(self, root_node, check_updates, update, build_mode, remote_name,
profile_build_requires, recorder, workspace, processed_profile):
+ assert isinstance(build_mode, BuildMode)
builder = DepsGraphBuilder(self._proxy, self._output, self._loader, self._resolver,
workspace, recorder)
graph = builder.load_graph(root_node, check_updates, update, remote_name, processed_profile)
- if build_mode is None:
- return graph
binaries_analyzer = GraphBinariesAnalyzer(self._cache, self._output,
self._remote_manager, workspace)
binaries_analyzer.evaluate_graph(graph, build_mode, update, remote_name)
