Commit 5ce6c62
committed
refactor(spawn): tighten powershell rewrite review points
- Compare `.bin` / `node_modules` path components case-insensitively,
matching the existing case-insensitive `.cmd`/`.bat` check and npm's
de-facto lowercase naming (robust to symlinks/mounts)
- Condense the scope-check comment to one line to match the repo style
- Narrow `#[expect(clippy::disallowed_types)]` from the whole test
module to just the two helpers that actually bridge std paths1 parent 9b5cad2 commit 5ce6c62
1 file changed
Lines changed: 8 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 68 | + | |
72 | 69 | | |
73 | 70 | | |
74 | | - | |
| 71 | + | |
75 | 72 | | |
76 | 73 | | |
77 | | - | |
| 74 | + | |
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
| |||
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 104 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 105 | + | |
117 | 106 | | |
118 | 107 | | |
119 | 108 | | |
120 | 109 | | |
121 | 110 | | |
122 | 111 | | |
123 | 112 | | |
124 | | - | |
| 113 | + | |
| 114 | + | |
125 | 115 | | |
126 | 116 | | |
127 | 117 | | |
128 | | - | |
| 118 | + | |
| 119 | + | |
129 | 120 | | |
130 | 121 | | |
131 | 122 | | |
| |||
0 commit comments