You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: close file on panic.
If write were to panic, the file would not get closed. Adding a defer
and checking if 'f' is nil prior to closing ensures we will always close
the file and only once.
0 commit comments