Skip to content

Commit dc8046b

Browse files
committed
Rename index to register
1 parent 45ff5b7 commit dc8046b

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $ npm install -D log-process-errors
2424
Require this module with the `-r` CLI flag.
2525

2626
```bash
27-
$ node -r log-process-errors ...
27+
$ node -r log-process-errors/register ...
2828
```
2929

3030
# Usage (custom)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "log-process-errors",
33
"version": "0.13.16",
4-
"main": "index.js",
4+
"main": "register.js",
55
"files": [
66
"dist",
77
"custom.js",
File renamed without changes.

test/simple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repeatEvents((prefix, { eventName }) => {
1717
`node \
1818
--no-warnings \
1919
-r ${STACK_REGISTER_FILE} \
20-
-r . \
20+
-r ./register \
2121
-e "require('${EMIT_FILE}').EVENTS.${eventName}()"`,
2222
{ env: { LOG_PROCESS_ERRORS_TEST: '1' } },
2323
)

0 commit comments

Comments
 (0)