mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 01:50:27 +00:00
Use error instead of print
This commit is contained in:
parent
ee9e803ae6
commit
d8213986e8
@ -83,7 +83,7 @@ M.add_file = function(file_name_or_buf_id)
|
||||
end
|
||||
|
||||
if buf_name == "" or buf_name == nil then
|
||||
print("Couldn't find a valid file name to mark, sorry.")
|
||||
error("Couldn't find a valid file name to mark, sorry.")
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user