From 5d802a952e9802fff0a82133883b28f7378cd68b Mon Sep 17 00:00:00 2001 From: bracesproul Date: Thu, 1 Aug 2024 15:21:53 -0700 Subject: [PATCH] scripts[patch]: Fixed false warning for api ref link --- libs/langchain-scripts/src/cli/docs/document_loaders.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langchain-scripts/src/cli/docs/document_loaders.ts b/libs/langchain-scripts/src/cli/docs/document_loaders.ts index 09498fd52d30..b395a8833a3b 100644 --- a/libs/langchain-scripts/src/cli/docs/document_loaders.ts +++ b/libs/langchain-scripts/src/cli/docs/document_loaders.ts @@ -137,7 +137,7 @@ export async function fillDocLoaderIntegrationDocTemplate(fields: { fetchAPIRefUrl(formattedApiRefModuleUrl), fetchAPIRefUrl(formattedPackageApiRefUrl), ]); - if (!success.find((s) => s === false)) { + if (success.find((s) => s === false)) { // Don't error out because this might be used before the package is released. console.error("Invalid package or module name. API reference not found."); }