Dumped file content

This commit is contained in:
lmika 2026-06-16 12:40:10 +00:00
parent 16fd63b06f
commit 2ad19740fc

View file

@ -116,6 +116,7 @@ func runCmdExpectingOutput(cmd ...string) (string, error) {
func writeFile(path string, content string, mode os.FileMode) error {
fullPath := os.ExpandEnv(path)
log.Printf(" .. [file] %v (%v bytes)", fullPath, len(content))
log.Printf(" .. [file] %v", content)
return os.WriteFile(fullPath, []byte(content), mode)
}