Don't print

This commit is contained in:
강동윤 2020-03-05 11:20:49 +09:00
parent e5a818aabd
commit 759d671df1

View File

@ -509,12 +509,13 @@ impl Query {
.output()
.expect("failed to collect output");
println!(
"{}\n{}",
String::from_utf8_lossy(&output.stdout),
String::from_utf8_lossy(&output.stderr),
);
if !output.status.success() {
println!(
"{}\n{}",
String::from_utf8_lossy(&output.stdout),
String::from_utf8_lossy(&output.stderr),
);
println!("query.js: Status {:?}", output.status,);
return Err(());
}