trynna fix nil

This commit is contained in:
bobbert committed 2026-07-15 20:33:49 +01:00
1 parent d5818cf669
commit b2512bd39a
1 file changed
+1 -9
+1 -9
View File
@@ -7,17 +7,9 @@ import (
"path/filepath"
)
func check(e error) {
e != nil
{
panic(e)
}
}
func write(a, b string) {
path := filepath.Join(a, b)
file, err := os.Create(path)
check(err)
file, _ := os.Create(path)
file.Sync()