mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
add lint command, lint and lint:fix project
This commit is contained in:
parent
430c7ad6ec
commit
93b609932d
23 changed files with 36916 additions and 25 deletions
|
@ -4,7 +4,7 @@ import { rewriteJs } from "../../shared";
|
|||
function rewriteFunction(ctx: ProxyCtx, client: ScramjetClient) {
|
||||
const stringifiedFunction = ctx.call().toString();
|
||||
|
||||
let content = rewriteJs(`return ${stringifiedFunction}`, client.meta);
|
||||
const content = rewriteJs(`return ${stringifiedFunction}`, client.meta);
|
||||
ctx.return(ctx.fn(content)());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue