Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: don't parse unexpected files while generating protobuf (#4411)
Richard Shiue4852e5c8d463
diff --git a/frontend/rust-lib/build-tool/flowy-codegen/src/protobuf_file/proto_gen.rs b/frontend/rust-lib/build-tool/flowy-codegen/src/protobuf_file/proto_gen.rsindex ff5843401e..1253506bd8 100644--- a/frontend/rust-lib/build-tool/flowy-codegen/src/protobuf_file/proto_gen.rs+++ b/frontend/rust-lib/build-tool/flowy-codegen/src/protobuf_file/proto_gen.rs@@ -138,7 +138,7 @@ fn write_rust_crate_mod_file(crate_contexts: &[ProtobufCrateContext]) {mod_file_content.push_str("// Auto-generated, do not edit\n");walk_dir(context.protobuf_crate.proto_output_path(),- |e| !e.file_type().is_dir(),+ |e| !e.file_type().is_dir() && !e.file_name().to_string_lossy().starts_with('.'),|_, name| {let c = format!("\nmod {};\npub use {}::*;\n", &name, &name);mod_file_content.push_str(c.as_ref());