file_node_id fixed
This commit is contained in:
@@ -2105,6 +2105,7 @@ def build_indexes():
|
||||
# Keep the same ID (`file::<path>`) but store the full set of
|
||||
# attributes so that downstream code can rely on `name`, `lang`,
|
||||
# and `file` (even though `name` will just be the file path).
|
||||
file_node_id = f"file::{fpath}"
|
||||
if file_node_id not in graph.graph.nodes:
|
||||
graph.add_node(
|
||||
file_node_id,
|
||||
|
||||
Reference in New Issue
Block a user