Commit 2b5cc46
committed
Fix pathToProjectSlug on Windows
resolve() on Windows returns backslash-separated paths (D:\a\foo), and
the slug regex only replaced forward slashes, leaving backslashes
unchanged in the output. Normalize \ to / before slugging so
test-cli (windows-latest) passes.1 parent 3fa1c40 commit 2b5cc46
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
0 commit comments