Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
chore: remove logging raw label value
Browse files Browse the repository at this point in the history
  • Loading branch information
tippfehlr committed Feb 25, 2024
1 parent a1a0080 commit 8cfbfd3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ async fn webhook(path: web::Path<(String, String)>) -> impl Responder {
])
.output()
{
Ok(output) => {
println!("{:#?}", String::from_utf8_lossy(&output.stdout));
String::from_utf8_lossy(&output.stdout).trim() == "'true'"
}
Ok(output) => String::from_utf8_lossy(&output.stdout).trim() == "'true'",
Err(e) => {
eprintln!("{:#?}", e);
return HttpResponse::InternalServerError();
Expand Down

0 comments on commit 8cfbfd3

Please sign in to comment.