这是indexloc提供的服务,不要输入任何密码
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/turbo-trace/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async fn main() -> Result<(), PathError> {

if !result.errors.is_empty() {
for error in result.errors {
println!("{:?}", Report::new(error))
println!("{}", Report::new(error))
}
std::process::exit(1);
} else {
Expand Down
2 changes: 1 addition & 1 deletion crates/turbo-trace/src/tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl TraceResult {
e.clone().into_diagnostic(&handler).emit();
}
e => {
eprintln!("{:?}", Report::new(e.clone()));
eprintln!("{}", Report::new(e.clone()));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/boundaries/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl BoundariesResult {
e.clone().into_diagnostic(&handler).emit();
}
e => {
eprintln!("{:?}", Report::new(e.to_owned()));
eprintln!("{}", Report::new(e.to_owned()));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/commands/boundaries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub async fn run(
print!("{esc}c", esc = 27 as char);
println!();
println!();
println!("{:?}", Report::new(diagnostic.clone()));
println!("{}", Report::new(diagnostic.clone()));
let prompt = format!(
"Ignore this error by adding a {} comment?",
color!(run.color_config(), BOLD_GREEN, "@boundaries-ignore"),
Expand Down
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/commands/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ pub async fn run(
if !result.errors.is_empty() {
for error in result.errors {
let error = QueryError::new(error, query.to_string());
eprintln!("{:?}", Report::new(error));
eprintln!("{}", Report::new(error));
}
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion crates/turborepo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fn main() -> Result<()> {
std::panic::set_hook(Box::new(turborepo_lib::panic_handler));

let exit_code = turborepo_lib::main().unwrap_or_else(|err| {
eprintln!("{:?}", Report::new(err));
eprintln!("{}", Report::new(err));
1
});

Expand Down
Loading