Correct eslint warning

This commit is contained in:
Michael Howell 2023-02-16 19:22:03 -07:00 committed by GitHub
parent 4de9c6d491
commit d963318c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;