mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
site/assets/js/search.js: ignore the LGTM alert (#29634)
This commit is contained in:
parent
972369c997
commit
258a56b473
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
|||
// When in production, return the result as is,
|
||||
// otherwise remove our url from it.
|
||||
// eslint-disable-next-line no-negated-condition
|
||||
hit.url = currentUrl.indexOf(liveUrl) !== -1 ?
|
||||
hit.url = currentUrl.indexOf(liveUrl) !== -1 ? // lgtm [js/incomplete-url-substring-sanitization]
|
||||
hit.url :
|
||||
hit.url.replace(liveUrl, '')
|
||||
|
||||
|
|
Loading…
Reference in a new issue