Skip to content

Commit

Permalink
added debug file write
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Predoiu committed Jul 10, 2023
1 parent cfc9850 commit b2f4c43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func Write(output string, fileName string, content string, owner *int, append bo
log.Fatal().Err(err).Msgf("Unable to write to file '%s'", path)
os.Exit(1)
}
log.Debug().Msgf("Wrote file '%s'", path)

// set permissions on file and folder
if owner != nil {
Expand Down

0 comments on commit b2f4c43

Please sign in to comment.