Replace TODO comment to correspond with learned information

This commit is contained in:
2024-03-07 20:20:30 -05:00
parent 22758460ab
commit 408cff1a79
+1 -1
View File
@@ -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)