mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Fix backup call in test
This commit is contained in:
@@ -56,7 +56,7 @@ func startup(args []string) (tcell.SimulationScreen, error) {
|
|||||||
fmt.Println("Micro encountered an error:", err)
|
fmt.Println("Micro encountered an error:", err)
|
||||||
// backup all open buffers
|
// backup all open buffers
|
||||||
for _, b := range buffer.OpenBuffers {
|
for _, b := range buffer.OpenBuffers {
|
||||||
b.Backup(false)
|
b.Backup()
|
||||||
}
|
}
|
||||||
// Print the stack trace too
|
// Print the stack trace too
|
||||||
log.Fatalf(errors.Wrap(err, 2).ErrorStack())
|
log.Fatalf(errors.Wrap(err, 2).ErrorStack())
|
||||||
|
|||||||
Reference in New Issue
Block a user