Skip to content

Commit

Permalink
Merge pull request #88 from pinkiebell/fix/typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf authored Jan 13, 2022
2 parents a1ea0d4 + 8b04bbf commit efcc8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-search-local/src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export const tokenize = (input) => lunr.tokenizer(input)
"docusaurus-plugin-content-pages"
);

if (indexDocs && pagesPlugins.size === 0) {
if (indexDocs && docsPlugins.size === 0) {
throw new Error(
'The "indexDocs" option is enabled but no docs plugin has been found.'
);
Expand Down

0 comments on commit efcc8f8

Please sign in to comment.