Commit f3157d4
committed
chore: Use process.cwd() instead of __dirname or import.meta
While this doesn't have the exact same semantic, it works
identical in all Node.js versions and we have control of
the cwd of the process, so this should be consistent and
work without ESM/CJS trics.1 parent aad53d6 commit f3157d4
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
0 commit comments