Skip to content

Commit 535023a

Browse files
committed
fix typo :)
1 parent 6ed6ad8 commit 535023a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/addons/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function addToDemoPage(existingContent: string, path: string, typescript:
6767
const { script, template, generateCode } = parseSvelte(existingContent, { typescript });
6868

6969
for (const node of template.ast.childNodes) {
70-
// we use inclules as it could be "/demo/${path}" or "resolve("demo/${path}")" or "resolve('demo/${path}')"
70+
// we use includes as it could be "/demo/${path}" or "resolve("demo/${path}")" or "resolve('demo/${path}')"
7171
if (node.type === 'tag' && node.attribs['href'].includes(`/demo/${path}`)) {
7272
return existingContent;
7373
}

0 commit comments

Comments
 (0)