Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoima525 committed Apr 5, 2024
1 parent f603b4d commit e26bb07
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libs/langchain-scripts/src/migrations/0_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ async function getEntrypointsFromFile(
const exportedSymbolsMap = newFile.getExportedDeclarations();
const exportedSymbols = Array.from(exportedSymbolsMap.entries())
.filter(([_, declarations]) => declarations.length > 0)
.map(
([symbol, declarations]) => ({
.map(([symbol, declarations]) => ({
kind: declarations[0].getKind(),
symbol,
})
);
}));
return {
entrypoint: key,
exportedSymbols,
Expand Down

0 comments on commit e26bb07

Please sign in to comment.