Correct eslint warning
This commit is contained in:
parent
4de9c6d491
commit
d963318c1d
@ -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…
Reference in New Issue
Block a user