Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added skip for empty value

=5d08b949a46d
diff --git a/backend/src/server/plugins/go-sidecar-shadowing.ts b/backend/src/server/plugins/go-sidecar-shadowing.ts
index f5c2896d28..d2bcf6993d 100644
--- a/backend/src/server/plugins/go-sidecar-shadowing.ts
+++ b/backend/src/server/plugins/go-sidecar-shadowing.ts
@@ -24,6 +24,7 @@ const SENSITIVE_FIELDS = new Set([
"secretCommentTag"
]);
+
type ComparisonDiff = {
path: string;
type: "missing_in_go" | "missing_in_node" | "type_mismatch" | "value_mismatch";
@@ -45,7 +46,7 @@ const isIgnoredImportField = (path: string, fieldName: string): boolean => {
};
const isEmpty = (value: unknown): boolean => {
- if (value === null || value === undefined) {
+ if (value === null || value === undefined || value === "") {
return true;
}
if (Array.isArray(value) && value.length === 0) {