Skip to content

Commit 9dc505a

Browse files
committed
fix: early exit non-matplotlib
1 parent 8ad105d commit 9dc505a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/myst-cli/src/transforms/outputs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export function transformFilterOutputStreams(
137137
data.data['text/plain']
138138
) {
139139
const content = data.data['text/plain'].content;
140-
if (!stringIsMatplotlibOutput(content)) return true;
140+
if (!stringIsMatplotlibOutput(content)) return false;
141141
const doRemove = mpl.includes('remove');
142142
const doWarn = mpl.includes('warn');
143143
const doError = mpl.includes('error');

0 commit comments

Comments
 (0)