Commit 9967a14
chore: fix JavaScript lint error in fs/read-dir examples
Replace `out instanceof Error` with `isError( out )` using
`@stdlib/assert/is-error` to comply with the `stdlib/doctest`
linting rule. This matches the pattern used in similar packages
like `@stdlib/fs/read-file`.
Resolves #8483
Co-Authored-By: sumithraju <noreply@github.com>1 parent 23a6428 commit 9967a14
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
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 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments