just make eslint happier

This commit is contained in:
wearrrrr 2024-09-22 20:48:56 -05:00
parent 96103460b8
commit dc80bf1170
6 changed files with 16 additions and 11 deletions

View file

@ -43,7 +43,7 @@ export default function (client: ScramjetClient, self: Self) {
);
// subtracting that from the index of the scramtag gives us the starting index of the function relative to the entire file
let absindex = abstagindex - scramtagstart;
const absindex = abstagindex - scramtagstart;
const scramtagend = stringified.indexOf("*/", scramtagstart);
const tag = stringified.substring(firstspace + 1, scramtagend);
@ -75,6 +75,7 @@ export default function (client: ScramjetClient, self: Self) {
}
newString += stringified.slice(i);
return ctx.return(newString);
},
});