diff --git a/pilota-build/src/parser/protobuf/mod.rs b/pilota-build/src/parser/protobuf/mod.rs index 790824c2..9f3a912c 100644 --- a/pilota-build/src/parser/protobuf/mod.rs +++ b/pilota-build/src/parser/protobuf/mod.rs @@ -479,7 +479,7 @@ impl Parser for ProtobufParser { } fn include_dirs(&mut self, dirs: Vec) { - self.include_dirs = dirs.clone(); + self.include_dirs.extend(dirs.clone()); self.inner.includes(dirs); }