summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-05-06 22:29:35 +1000
committerJesse Duffield <jessedduffield@gmail.com>2019-05-06 22:39:35 +1000
commit2746b1bd38fa2668490a8db2369dec5146fbaec6 (patch)
treecd224a75125d6527e469a6618c6b8c5e947376fd /pkg/commands
parente09aac645035146805a3af0389e1f27fe13599b9 (diff)
Prevent crash when opening in small window
We were crashing when opening lazygit in a small window because the limit view was the only view that got created, and there were two functions that referenced either the 'current' view or the files view, neither of which existed. Now those functions just return nil if the view does not exist
Diffstat (limited to 'pkg/commands')
0 files changed, 0 insertions, 0 deletions