Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crate_universe/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use anyhow::{anyhow, Context};
use log::*;
use crate_universe_resolver::config::Config;
use log::*;
use std::io::{BufRead, BufReader};
use std::path::PathBuf;
use structopt::StructOpt;
Expand Down Expand Up @@ -90,10 +90,10 @@ fn main() -> anyhow::Result<()> {
let renderer = consolidator.consolidate()?;

trace!("Rendering output to: {:?}", output_path);
let output_file = std::fs::File::create(&output_path)
let mut output_file = std::fs::File::create(&output_path)
.with_context(|| format!("Could not create output file {:?}", output_path))?;
renderer
.render(&output_file)
.render(&mut output_file)
.context("Could not render deps")?;

if opt.update_lockfile {
Expand Down
Loading