summaryrefslogtreecommitdiff
path: root/server/src/bin/graph_summary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/bin/graph_summary.rs')
-rw-r--r--server/src/bin/graph_summary.rs8
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>,