diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-10-28 23:55:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-29 00:55:51 +0100 |
commit | 484f8ca9c30909914eb3348b2df10d44e2753248 (patch) | |
tree | 352f3e7c7e0e6d3354438d94e77fca1abc911fe6 /tests/specs/run/node_globals_hints/filename.js | |
parent | 0e641632c38383a1d67aa610867496f64ae423ca (diff) |
fix: provide hints in terminal errors for Node.js globals (#26610)
Add info/hint for terminal errors related to Node.js globals:
- __filename
- __dirname
- Buffer
- global
- setImmediate
- clearImmediate
Closes https://github.com/denoland/deno/issues/17494
Diffstat (limited to 'tests/specs/run/node_globals_hints/filename.js')
-rw-r--r-- | tests/specs/run/node_globals_hints/filename.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/specs/run/node_globals_hints/filename.js b/tests/specs/run/node_globals_hints/filename.js new file mode 100644 index 000000000..31770bb14 --- /dev/null +++ b/tests/specs/run/node_globals_hints/filename.js @@ -0,0 +1 @@ +__filename; |