diff --git a/src/Hook/QuickJS/Eval.cs b/src/Hook/QuickJS/Eval.cs index 2bcd882..c175e70 100644 --- a/src/Hook/QuickJS/Eval.cs +++ b/src/Hook/QuickJS/Eval.cs @@ -58,13 +58,13 @@ public Eval() out var len ) ) - fixed ( - byte* fakeFile = StringUtils.StringToManagedUtf8( - Guid.NewGuid().ToString("N") + ".js" //replace to fake filename - ) - ) + //fixed ( + // byte* fakeFileName = StringUtils.StringToManagedUtf8( + // Guid.NewGuid().ToString("N") + ".js" //replace to fake filename + // ) + //) { - var ret = Original(ctx, p, (nuint)len, fakeFile, evalFlags); + var ret = Original(ctx, p, (nuint)len, file, evalFlags); return ret; } }