Commit 1e35a39
committed
Fix to runInContext, runInNewContext and runInThisContext signature
According to https://nodejs.org/api/vm.html#scriptrunincontextcontextifiedobject-options, these three functions don't have a second parameter of string type.
These three functions didn't work in my project after build, an exception would be raised, so I fixed this.1 parent 09a2b92 commit 1e35a39
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
0 commit comments