Commit 4a35ba4
fs: include filename in watch errors
This commit adds the relevant filename to fs.watch() errors.
Refs: nodejs/node-v0.x-archive#25542
PR-URL: #2748
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 7271cb0 commit 4a35ba4Copy full SHA for 4a35ba4
File tree
Expand file treeCollapse file tree
2 files changed
+23
-2
lines changedOpen diff view settings
Filter options
- lib
- test/sequential
Expand file treeCollapse file tree
2 files changed
+23
-2
lines changedOpen diff view settings
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1219 | 1219 | |
1220 | 1220 | |
1221 | 1221 | |
1222 | | - |
| 1222 | + |
| 1223 | + |
| 1224 | + |
1223 | 1225 | |
1224 | 1226 | |
1225 | 1227 | |
| ||
1234 | 1236 | |
1235 | 1237 | |
1236 | 1238 | |
1237 | | - |
| 1239 | + |
| 1240 | + |
| 1241 | + |
1238 | 1242 | |
1239 | 1243 | |
1240 | 1244 | |
|
Collapse file
test/sequential/test-fs-watch.js
Copy file name to clipboardExpand all lines: test/sequential/test-fs-watch.js+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
126 | 126 | |
127 | 127 | |
128 | 128 | |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
0 commit comments