Dumped file content
This commit is contained in:
parent
16fd63b06f
commit
2ad19740fc
1 changed files with 1 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ func runCmdExpectingOutput(cmd ...string) (string, error) {
|
||||||
func writeFile(path string, content string, mode os.FileMode) error {
|
func writeFile(path string, content string, mode os.FileMode) error {
|
||||||
fullPath := os.ExpandEnv(path)
|
fullPath := os.ExpandEnv(path)
|
||||||
log.Printf(" .. [file] %v (%v bytes)", fullPath, len(content))
|
log.Printf(" .. [file] %v (%v bytes)", fullPath, len(content))
|
||||||
|
log.Printf(" .. [file] %v", content)
|
||||||
|
|
||||||
return os.WriteFile(fullPath, []byte(content), mode)
|
return os.WriteFile(fullPath, []byte(content), mode)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue