Skip to content

Commit 2438e31

Browse files
committed
Update comments
1 parent 154dfca commit 2438e31

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ They can also be run directly
1515

1616
## Main usage
1717

18-
- Process errors without `log-process-errors`:
18+
- How process errors look without `log-process-errors`:
1919
[JavaScript](before.js), [command line](before.sh).
20-
- Process errors
20+
- Hos process errors look
2121
[with `log-process-errors`](../docs/API.md#logprocesserrorsoptions):
2222
[JavaScript](after.js), [command line](after.sh).

examples/after.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env node
2-
// Demo of process errors when `log-process-errors` is used in JavaScript.
2+
// This demonstrates how process errors look when `log-process-errors` is used,
3+
// in JavaScript.
34
// This file can be directly run:
45
// - first install `log-process-errors`
56
// - then `node node_modules/log-process-errors/examples/after.js`

examples/after.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
2-
# Demo of process errors when `log-process-errors` is used in the terminal
3-
# (Bash).
2+
# This demonstrates how process errors look when `log-process-errors` is used,
3+
# in the terminal (Bash).
44
# This file can be directly run:
55
# - first install `log-process-errors`
66
# - then `bash node_modules/log-process-errors/examples/after.sh`

examples/before.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env node
2-
// Demo of process errors when `log-process-errors` is not used in JavaScript.
2+
// This demonstrates how process errors look when `log-process-errors` is not
3+
// used, in JavaScript.
34
// This file can be directly run:
45
// - first install `log-process-errors`
56
// - then `node node_modules/log-process-errors/examples/before.js`

examples/before.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
2-
# Demo of process errors when `log-process-errors` is not used in the terminal
3-
# (Bash).
2+
# This demonstrates how process errors look when `log-process-errors` is not
3+
# used, in the terminal (Bash).
44
# This file can be directly run:
55
# - first install `log-process-errors`
66
# - then `bash node_modules/log-process-errors/examples/before.sh`

0 commit comments

Comments
 (0)