Fix warnings (#770)
This commit is contained in:
parent
21f5e75395
commit
9eb774e2ce
@ -253,8 +253,7 @@ impl<'src> Justfile<'src> {
|
|||||||
|
|
||||||
recipe.run(context, dotenv, scope, search)?;
|
recipe.run(context, dotenv, scope, search)?;
|
||||||
|
|
||||||
let mut invocation = Vec::new();
|
let mut invocation = vec![recipe.name().to_owned()];
|
||||||
invocation.push(recipe.name().to_owned());
|
|
||||||
for argument in arguments.iter().cloned() {
|
for argument in arguments.iter().cloned() {
|
||||||
invocation.push(argument.to_owned());
|
invocation.push(argument.to_owned());
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ pub fn assert_success(output: &Output) {
|
|||||||
if !output.status.success() {
|
if !output.status.success() {
|
||||||
eprintln!("stderr: {}", String::from_utf8_lossy(&output.stderr));
|
eprintln!("stderr: {}", String::from_utf8_lossy(&output.stderr));
|
||||||
eprintln!("stdout: {}", String::from_utf8_lossy(&output.stdout));
|
eprintln!("stdout: {}", String::from_utf8_lossy(&output.stdout));
|
||||||
panic!(output.status);
|
panic!("{}", output.status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user