Fix backup call in test

This commit is contained in:
Zachary Yedidia
2020-06-22 18:20:01 -04:00
parent a8332fd316
commit 9cc7c9be2d

View File

@@ -56,7 +56,7 @@ func startup(args []string) (tcell.SimulationScreen, error) {
fmt.Println("Micro encountered an error:", err)
// backup all open buffers
for _, b := range buffer.OpenBuffers {
b.Backup(false)
b.Backup()
}
// Print the stack trace too
log.Fatalf(errors.Wrap(err, 2).ErrorStack())