From ce01c868c539ab46a4a99769636ead2811cadad1 Mon Sep 17 00:00:00 2001 From: LIU JIE Date: Tue, 26 Mar 2024 17:11:22 +0800 Subject: [PATCH] fix: don't override include_dirs for protobuf config (#232) --- pilota-build/src/parser/protobuf/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }