diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-01 20:09:06 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-01 20:09:06 +0200 |
commit | eb7fa5392997ac5c165d1ae011e57a1b7fcac084 (patch) | |
tree | dedaf078a8817a976ead6568dbf93bf79f3f395b /server/src/bin/graph_summary.rs | |
parent | 4ad82d4944bc8ea00fcfe324c8004b079ec48c18 (diff) | |
download | hurrycurry-eb7fa5392997ac5c165d1ae011e57a1b7fcac084.tar hurrycurry-eb7fa5392997ac5c165d1ae011e57a1b7fcac084.tar.bz2 hurrycurry-eb7fa5392997ac5c165d1ae011e57a1b7fcac084.tar.zst |
server support for nested map directory
Diffstat (limited to 'server/src/bin/graph_summary.rs')
-rw-r--r-- | server/src/bin/graph_summary.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/server/src/bin/graph_summary.rs b/server/src/bin/graph_summary.rs index 12df0b1a..2c97799a 100644 --- a/server/src/bin/graph_summary.rs +++ b/server/src/bin/graph_summary.rs @@ -15,7 +15,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -use anyhow::{anyhow, Result}; +use anyhow::Result; use hurrycurry_protocol::{ItemIndex, Recipe, TileIndex}; use hurrycurry_server::data::DataIndex; use std::collections::HashSet; @@ -27,11 +27,7 @@ async fn main() -> Result<()> { println!("digraph {{"); - let rn = std::env::args() - .nth(1) - .ok_or(anyhow!("first arg should be recipe set name"))?; - - let (data, sdata, _) = index.generate(format!("5star-{rn}")).await?; + let (data, sdata, _) = index.generate("5star").await?; struct Node { inputs: Vec<ItemIndex>, |