Skip to content

Commit

Permalink
Lulu: Bail properly from detectSearch()
Browse files Browse the repository at this point in the history
Fix to a90a241
  • Loading branch information
dstillman committed Oct 24, 2024
1 parent d247318 commit cdc1712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lulu.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 12,
"browserSupport": "gcsibv",
"lastUpdated": "2024-10-24 04:02:00"
"lastUpdated": "2024-10-24 19:22:51"
}

function getSearchResults(doc) {

Check warning on line 15 in Lulu.js

View workflow job for this annotation

GitHub Actions / Lint, Check, Test

Missing license block
Expand Down Expand Up @@ -102,7 +102,7 @@ function makeItem(doc, url) {

function detectSearch(items) {

Check failure on line 103 in Lulu.js

View workflow job for this annotation

GitHub Actions / Lint, Check, Test

Expected to return a value at the end of function 'detectSearch'
// Disabled -- no longer working
if (false) return false;
if (true) return false;

Check failure on line 105 in Lulu.js

View workflow job for this annotation

GitHub Actions / Lint, Check, Test

Unexpected constant condition

if (items.ISBN) return true;

Expand Down

0 comments on commit cdc1712

Please sign in to comment.