Commit 098a311
util: move .decorateErrorStack to internal/util
Move the method that was added in commit 8ca412b from earlier this month
from lib/util.js to lib/internal/util.js.
Avoids exposing a method that we may not wish to expose just yet, seeing
how it relies on implementation details.
PR-URL: #4026
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 8988e1e commit 098a311Copy full SHA for 098a311
File tree
Expand file treeCollapse file tree
4 files changed
+32
-27
lines changedOpen diff view settings
Filter options
- lib
- internal
- test/parallel
Expand file treeCollapse file tree
4 files changed
+32
-27
lines changedOpen diff view settings
Collapse file
+18Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
| 25 | + |
25 | 26 | |
26 | 27 | |
27 | 28 | |
| ||
276 | 277 | |
277 | 278 | |
278 | 279 | |
279 | | - |
| 280 | + |
280 | 281 | |
281 | 282 | |
282 | 283 | |
|
Collapse file
+3-18Lines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
| 9 | + |
| 10 | + |
8 | 11 | |
9 | 12 | |
10 | 13 | |
| ||
680 | 683 | |
681 | 684 | |
682 | 685 | |
683 | | - |
684 | | - |
685 | | - |
686 | 686 | |
687 | 687 | |
688 | 688 | |
| ||
698 | 698 | |
699 | 699 | |
700 | 700 | |
701 | | - |
702 | | - |
703 | | - |
704 | | - |
705 | 701 | |
706 | 702 | |
707 | 703 | |
| ||
883 | 879 | |
884 | 880 | |
885 | 881 | |
886 | | - |
887 | | - |
888 | | - |
889 | | - |
890 | | - |
891 | | - |
892 | | - |
893 | | - |
894 | | - |
895 | | - |
896 | | - |
Collapse file
test/parallel/test-util-decorate-error-stack.js
Copy file name to clipboard+9-8Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
4 | | - |
| 5 | + |
5 | 6 | |
6 | 7 | |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | 14 | |
14 | 15 | |
15 | | - |
| 16 | + |
16 | 17 | |
17 | 18 | |
18 | 19 | |
| ||
23 | 24 | |
24 | 25 | |
25 | 26 | |
26 | | - |
| 27 | + |
27 | 28 | |
28 | 29 | |
29 | 30 | |
30 | 31 | |
31 | 32 | |
32 | 33 | |
33 | 34 | |
34 | | - |
| 35 | + |
35 | 36 | |
0 commit comments