From 022a5410a198720effd2368262048932b34b2113 Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Mon, 22 Jul 2024 17:05:37 -0700 Subject: [PATCH] Fix format --- libs/langchain-scripts/src/build_v2.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/langchain-scripts/src/build_v2.ts b/libs/langchain-scripts/src/build_v2.ts index ff705901e9b4..6cad0b39b2b9 100644 --- a/libs/langchain-scripts/src/build_v2.ts +++ b/libs/langchain-scripts/src/build_v2.ts @@ -466,8 +466,9 @@ async function checkTreeShaking(config: LangChainConfig) { const entrypointContent = fs.readFileSync(entrypoint); // Allow escaping side effects strictly within code directly // within an entrypoints - hasUnexpectedSideEffects = - !entrypointContent.toString().includes("/* __LC_ALLOW_ENTRYPOINT_SIDE_EFFECTS__ */"); + hasUnexpectedSideEffects = !entrypointContent + .toString() + .includes("/* __LC_ALLOW_ENTRYPOINT_SIDE_EFFECTS__ */"); } reportMap.set(entrypoint, { log: sideEffects,