Skip to content

Commit

Permalink
log fatal if cant delete markdown file
Browse files Browse the repository at this point in the history
  • Loading branch information
piqoni committed May 10, 2023
1 parent 796dccc commit 6f79e1e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,7 @@ func bootstrapConfig() {
if !terminal_mode {
markdown_file_name := mdPrefix + currentDate + mdSuffix + ".md"
err := os.Remove(filepath.Join(markdown_dir_path, markdown_file_name))
if err != nil {
// fmt.Println("INFO: Coudn't remove old file: ", err)
}
check(err)
}
}

Expand Down

0 comments on commit 6f79e1e

Please sign in to comment.