mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
just make eslint happier
This commit is contained in:
parent
96103460b8
commit
dc80bf1170
6 changed files with 16 additions and 11 deletions
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue