diff options
Diffstat (limited to 'commands.lua')
-rw-r--r-- | commands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.lua b/commands.lua index a76bae5..1f8e304 100644 --- a/commands.lua +++ b/commands.lua @@ -136,7 +136,7 @@ end function move_candidate_to_front(s) local index = array.find(File_navigation.all_candidates, s) - assert(index) + assert(index, 'file missing from manifest') table.remove(File_navigation.all_candidates, index) table.insert(File_navigation.all_candidates, 1, s) end |