From 408cff1a795d4425fecb0e03e3282c3065f3037f Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 7 Mar 2024 20:20:30 -0500 Subject: [PATCH] Replace TODO comment to correspond with learned information --- src/cli/edit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/edit.go b/src/cli/edit.go index 9ab421f..d719597 100644 --- a/src/cli/edit.go +++ b/src/cli/edit.go @@ -113,7 +113,7 @@ func editNote(baseNote []string) ([]string, bool) { os.Exit(1) } - // TODO does it need to be reopened? + // open the tempFile for reading file, err := os.Open(tempFile.Name()) if err != nil { fmt.Println(offline.AnsiError + "Failed to open temporary file (\"" + tempFile.Name() + "\") " + err.Error() + offline.AnsiReset)