summaryrefslogtreecommitdiff
path: root/web/css
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-10 08:37:36 +0300
committerPaul Buetow <paul@buetow.org>2026-05-10 08:37:36 +0300
commit470cdf9833cdd83e9ea357f2831a5490ba081508 (patch)
tree8285b43d1994e67e76a4ef6d719a0a2f9b586b78 /web/css
parentc49f7d292e17449b122fa54252661a9a298be9a8 (diff)
fix: close destination file and clean up partial copies in copyFile
- Add defer out.Close() after os.Create in copyFile to prevent fd leak. - Remove redundant explicit out.Close() calls in error and success paths. - Best-effort remove partially written destination file on io.Copy error.
Diffstat (limited to 'web/css')
0 files changed, 0 insertions, 0 deletions