Skip to content

Commit

Permalink
fix: fix entry point js name in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
LazuliKao committed Jul 30, 2023
1 parent 2a85f63 commit eb8936a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Hook/QuickJS/Eval.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit eb8936a

Please sign in to comment.