Skip to content

Commit

Permalink
🐛 - Warnings of root package should override deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrolich committed Jul 18, 2023
1 parent 6453741 commit ab644bd
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 @@ -862,7 +862,7 @@ pub fn compile_file(
let jsx_mode_args = get_jsx_mode_args(&root_package);
let uncurried_args = get_uncurried_args(version, &package, &root_package);

let warning_args: Vec<String> = match package.bsconfig.warnings.to_owned() {
let warning_args: Vec<String> = match root_package.bsconfig.warnings.to_owned() {
None => vec![],
Some(warnings) => {
let warn_number = match warnings.number {
Expand Down

0 comments on commit ab644bd

Please sign in to comment.