mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-17 06:20:28 +00:00
Fix backup call in test
This commit is contained in:
parent
a8332fd316
commit
9cc7c9be2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue