Commit 7b1bc95
committed
fix: make filePaths platform agnostic
Use `path.sep` as the file separator instead of `/` so that this
works on both Windows and Unix.
Rename input parameter from `path` to `modulePath` so that it
doesn't override `node:path`1 parent 7d2642d commit 7b1bc95
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
| 253 | + | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments