From 93cec0a35379a4c9059e9f148dfe9ab85f20b3d3 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Thu, 1 Aug 2024 15:48:02 -0700 Subject: [PATCH] scripts[patch]: Fixed false warning for api ref link (#6329) --- 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."); }