Skip to content

Commit 55c3ccb

Browse files
committed
Update comments
1 parent 2438e31 commit 55c3ccb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/after.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
2-
// This demonstrates how process errors look when `log-process-errors` is used,
2+
// Demonstrates how process errors look when `log-process-errors` is used,
33
// in JavaScript.
44
// This file can be directly run:
55
// - first install `log-process-errors`
@@ -15,16 +15,16 @@ require('./utils')
1515

1616
const logProcessErrors = require('log-process-errors')
1717

18+
// Initialization
19+
logProcessErrors()
20+
1821
const {
1922
uncaughtException,
2023
unhandledRejection,
2124
warning,
2225
multipleResolves,
2326
} = require('./errors')
2427

25-
// Initialization
26-
logProcessErrors()
27-
2828
// Emit different types of process errors.
2929
uncaughtException()
3030
unhandledRejection()

examples/after.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# This demonstrates how process errors look when `log-process-errors` is used,
2+
# Demonstrates how process errors look when `log-process-errors` is used,
33
# in the terminal (Bash).
44
# This file can be directly run:
55
# - first install `log-process-errors`

examples/before.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
2-
// This demonstrates how process errors look when `log-process-errors` is not
2+
// Demonstrates how process errors look when `log-process-errors` is not
33
// used, in JavaScript.
44
// This file can be directly run:
55
// - first install `log-process-errors`

examples/before.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# This demonstrates how process errors look when `log-process-errors` is not
2+
# Demonstrates how process errors look when `log-process-errors` is not
33
# used, in the terminal (Bash).
44
# This file can be directly run:
55
# - first install `log-process-errors`

0 commit comments

Comments
 (0)