Skip to content

Commit 7ad27fb

Browse files
committed
correct condition for quarto-ext mask
1 parent d4e26e8 commit 7ad27fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/command/render/filters.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,8 +653,8 @@ function resolveFilterExtension(
653653
// the quarto-ext org. filter them out here (that allows them to remain
654654
// referenced in the yaml so we don't break code in the wild)
655655
extensions = extensions?.filter((ext) => {
656-
return ext.id.organization !== kQuartoExtOrganization &&
657-
!kQuartoExtBuiltIn.includes(ext.id.name);
656+
return !(ext.id.organization === kQuartoExtOrganization &&
657+
kQuartoExtBuiltIn.includes(ext.id.name));
658658
});
659659
if (extensions.length === 0) {
660660
return [];

0 commit comments

Comments
 (0)