Commit 0431370
committed
fix(copilot): re-resolve workspace access after the download instead of reusing it
The pre-download access check cannot stand in for the write-time one: the fetch
in between can be long, and a permission revoked during it must still block the
write. create_file keeps the reuse, where nothing awaits between the two.1 parent e78cdff commit 0431370
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
195 | | - | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
0 commit comments