Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
javstash authored Feb 12, 2025
1 parent 232b3a2 commit 9ffb15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/v2.5/src/components/Tagger/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const parseString = (input: string): string => {

const javcode_index = output.search(javcodeRegex);
if (javcode_index !== -1) {
const javcode_length = output.match(javcodeRegex)[1].length;
const javcode_length = output.match(javcodeRegex)![1].length;
return (
output.slice(0, javcode_index).replace(/-/g, " ") +
output.slice(javcode_index, javcode_index + javcode_length) +
Expand Down

0 comments on commit 9ffb15c

Please sign in to comment.