Commit 35b2b64
committed
Fix node_modules paths on Windows
This change moves 'prefix' test to happen after the absolute path is
resolved. Without it, the prefix tests never actually fire when starting
with a relative path, and the resulting dirs all end up looking like
[ '/C:..', '/C:...' ] instead of [ 'C:...', 'C:...' ]1 parent 9f2431b commit 35b2b64
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | | - | |
15 | 19 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
0 commit comments