Skip to content

Commit

Permalink
Use the correct path for the output file
Browse files Browse the repository at this point in the history
  • Loading branch information
phrohdoh committed May 25, 2017
1 parent b0865bd commit 990e1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn cmd_extract(args: &clap::ArgMatches) {
.write(true)
.truncate(true)
.create(true)
.open(output_dir)
.open(&output_path)
.expect(&format!("Failed to setup file {}", &output_path.display()));

f.write(&contents).expect(&format!("Failed to write to {}", &output_path.display()));
Expand Down

0 comments on commit 990e1f0

Please sign in to comment.