Correct eslint warning
This commit is contained in:
parent
4de9c6d491
commit
d963318c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ function initSearch(rawSearchIndex) {
|
|||
if (parserState.typeFilter === null) {
|
||||
parserState.typeFilter = "macro";
|
||||
} else if (parserState.typeFilter !== "macro") {
|
||||
throw new Error(`Invalid search type: macro \`!\` and ` +
|
||||
throw new Error("Invalid search type: macro `!` and " +
|
||||
`\`${parserState.typeFilter}\` both specified`);
|
||||
}
|
||||
end = foundExclamation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue