Skip to content

Commit

Permalink
refactor: remove unneeded guard
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Jan 20, 2025
1 parent 7955362 commit 7cf22f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/myst-cli/src/transforms/outputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export async function transformOutputsToCache(
opts?: { minifyMaxCharacters?: number },
) {
const outputsNodes = selectAll('outputs', mdast) as GenericNode[];
if (!outputsNodes.length) return;
const cache = castSession(session);
await Promise.all(
outputsNodes
Expand Down

0 comments on commit 7cf22f4

Please sign in to comment.