Skip to content

Commit

Permalink
Fix incorrect array type
Browse files Browse the repository at this point in the history
Closes #36
  • Loading branch information
nabijaczleweli committed Jun 13, 2017
1 parent 247ff4f commit 1e33d30
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 @@ -102,7 +102,7 @@ fn actual_main() -> Result<(), i32> {

let install_res = if let Some(cfg) = configuration.get(&package.name) {
Command::new("cargo")
.args(cfg.cargo_args())
.args(&cfg.cargo_args()[..])
.arg(&package.name)
.arg("--vers")
.arg(package.update_to_version().to_string())
Expand Down

0 comments on commit 1e33d30

Please sign in to comment.