Commit 8d1f9f8
committed
fix: import constants from fs, not fs/promises
`constants` was added to fs/promises in Node.js 18.4. Since we still
support 18.0, it must be imported from fs.
Thanks n/no-unsupported-features/node-builtins for warning about it!
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>1 parent c1b435f commit 8d1f9f8
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
0 commit comments