Skip to content

Commit

Permalink
typo endsWith
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rsch committed Feb 27, 2024
1 parent cf0936c commit 36e252f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const fetchGSData = async (paper) => {
const venue = bibtexToObject(bibtex)?.journal;
if (
venue &&
!venue.toLowerCase().endswith("xiv") &&
!venue.toLowerCase().endsWith("xiv") &&
!venue.toLowerCase().includes("preprint")
) {
const note = `Accepted @ ${venue} -- [scholar.google.com]`;
Expand Down
3 changes: 0 additions & 3 deletions src/bibMatcher/bibMatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ const showError = (msg) => {
setHTML("bibmatch-errors", msg);
};

const sleep = async (duration) =>
new Promise((resolve) => setTimeout(resolve, duration));

const matchPaper = async (paper) => {
let bibtex, match, source, venue;

Expand Down

0 comments on commit 36e252f

Please sign in to comment.