Skip to content

Commit

Permalink
fix: don't override include_dirs for protobuf config (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
Millione authored Mar 26, 2024
1 parent 7153348 commit ce01c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilota-build/src/parser/protobuf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ impl Parser for ProtobufParser {
}

fn include_dirs(&mut self, dirs: Vec<std::path::PathBuf>) {
self.include_dirs = dirs.clone();
self.include_dirs.extend(dirs.clone());
self.inner.includes(dirs);
}

Expand Down

0 comments on commit ce01c86

Please sign in to comment.