format octal

This commit is contained in:
2026-06-24 14:08:54 -04:00
parent a56a5c285c
commit 1e63040f92

View File

@@ -40,7 +40,7 @@ func New(cmd *cobra.Command, args []string) {
}
func writeFile(path string, data string) error {
if err := os.MkdirAll(filepath.Dir(path), 0o755); err != nil {
if err := os.MkdirAll(filepath.Dir(path), 0755); err != nil {
return err
}
return os.WriteFile(path, []byte(data), 0644)