Skip to content

Commit

Permalink
scripts[patch]: Fixed false warning for api ref link (#6329)
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul authored Aug 1, 2024
1 parent ce21b55 commit 93cec0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain-scripts/src/cli/docs/document_loaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
Expand Down

0 comments on commit 93cec0a

Please sign in to comment.