Switch to the more efficient module.exports = {} pattern.
PR-URL: https://github.com/nodejs/node/pull/11392
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
16 lines
486 B
Text
16 lines
486 B
Text
beginning
|
|
test.vm:1
|
|
throw new Error("boo!")
|
|
^
|
|
|
|
Error: boo!
|
|
at test.vm:1:7
|
|
at ContextifyScript.Script.runInThisContext (vm.js:*)
|
|
at Object.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> (*test*message*vm_display_runtime_error.js:*)
|
|
at Module._compile (module.js:*)
|
|
at Object.Module._extensions..js (module.js:*)
|
|
at Module.load (module.js:*)
|
|
at tryModuleLoad (module.js:*:*)
|
|
at Function.Module._load (module.js:*)
|
|
at Module.runMain (module.js:*)
|