WTF is this

This commit is contained in:
世界
2024-06-24 09:49:15 +08:00
parent 97cbc27937
commit c483fd6a0e
40 changed files with 372 additions and 532 deletions

View File

@@ -54,7 +54,11 @@ func merge(outputPath string) error {
return nil
}
}
err = rw.WriteFile(outputPath, buffer.Bytes())
err = rw.MkdirParent(outputPath)
if err != nil {
return err
}
err = os.WriteFile(outputPath, buffer.Bytes(), 0o644)
if err != nil {
return err
}