diff --git a/docs/src/stack.ts b/docs/src/stack.ts index 826c477b1..e3a1236e6 100644 --- a/docs/src/stack.ts +++ b/docs/src/stack.ts @@ -6,7 +6,7 @@ const replaceMePlaceholder = "REPLACE_ME"; function envOrUndefined(value: string | undefined): string | undefined { const normalized = value?.trim().replace(/^["']|["']$/g, ""); - if (normalized == null || normalized === "" || normalized === replaceMePlaceholder || normalized.startsWith(placeholderPrefix)) { + if (normalized == null || normalized === "" || normalized === replaceMePlaceholder || normalized.startsWith(placeholderPrefix) || normalized.startsWith("$(")) { return undefined; } return normalized;