diff options
Diffstat (limited to 'server/tools/src/graph.rs')
| -rw-r--r-- | server/tools/src/graph.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tools/src/graph.rs b/server/tools/src/graph.rs index a65ffc97..343047da 100644 --- a/server/tools/src/graph.rs +++ b/server/tools/src/graph.rs @@ -20,8 +20,7 @@ use hurrycurry_data::index::DataIndex; use hurrycurry_protocol::{Demand, ItemIndex, Recipe, RecipeIndex}; pub(crate) fn graph() -> Result<()> { - let mut index = DataIndex::default(); - index.reload()?; + let index = DataIndex::new("data".into())?; println!("digraph {{"); |