Skip to content

Commit 766c0df

Browse files
committed
reveajs - correctly identify brand layer
brand layer should be identified as is, and not as a path
1 parent b543849 commit 766c0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/format/reveal/format-reveal-theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export async function revealTheme(
124124
.map(
125125
(theme) => {
126126
const themePath = join(relative(Deno.cwd(), dirname(input)), theme);
127-
if (themePath === "brand") {
127+
if (theme === "brand") {
128128
usedBrandLayers = true;
129129
return brandLayers;
130130
} else if (existsSync(themePath)) {

0 commit comments

Comments
 (0)