Skip to content

Commit

Permalink
use .arg instead of .args
Browse files Browse the repository at this point in the history
  • Loading branch information
Mylloon committed Oct 9, 2023
1 parent 05dad14 commit 2cb0fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pub fn run_opam_update(ctx: &ExecutionContext) -> Result<()> {
ctx.run_type().execute(&opam).arg("update").status_checked()?;

let mut command = ctx.run_type().execute(&opam);
command.args(["upgrade"]);
command.arg("upgrade");
if ctx.config().yes(Step::Opam) {
command.arg("--yes");
}
Expand Down

0 comments on commit 2cb0fda

Please sign in to comment.