Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
  • Loading branch information
TrueDoctor and konsumlamm authored Jan 4, 2024
1 parent 1099b42 commit 2a4c608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robusta/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn main() {
if !npm_install.status.success() {
println!(
"cargo:warning=`npm install` failed: {}",
String::from_utf8_lossy(&npm_install.stderr).replace('\n', "\\n")
String::from_utf8_lossy(&npm_install.stderr).replace('\n', "\ncargo:warning="),
);
}

Expand All @@ -54,7 +54,7 @@ fn main() {
if !npm_build.status.success() {
println!(
"cargo:warning=`npm run build` failed: {}",
String::from_utf8_lossy(&npm_build.stderr).replace('\n', "\\n")
String::from_utf8_lossy(&npm_build.stderr).replace('\n', "\ncargo:warning="),
);
}

Expand Down

0 comments on commit 2a4c608

Please sign in to comment.