Skip to content

Commit

Permalink
🐛 - Fix warn-error
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrolich committed Jul 18, 2023
1 parent 92a53a9 commit 6453741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ pub fn compile_file(

let warn_error = match warnings.error {
Some(bsconfig::Error::Catchall(true)) => {
vec!["-warn-error A".to_string()]
vec!["-warn-error".to_string(), "A".to_string()]
}
Some(bsconfig::Error::Qualified(errors)) => {
vec!["-warn-error".to_string(), errors.to_string()]
Expand Down

0 comments on commit 6453741

Please sign in to comment.