Commit 767a6b3
committed
fix: check zip writer Close error in serveFoundryModuleZip
Fixes errcheck lint failure — zw.Close() must be checked since it
flushes the zip central directory to the response.
https://claude.ai/code/session_01XMwxFR8BCi5XvgaSVMSBZB1 parent 269f359 commit 767a6b3
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
321 | 320 | | |
322 | | - | |
| 321 | + | |
323 | 322 | | |
324 | 323 | | |
325 | 324 | | |
| |||
347 | 346 | | |
348 | 347 | | |
349 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
| |||
0 commit comments