mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-16 11:00:23 +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
|
end
|
||||||
|
|
||||||
if buf_name == "" or buf_name == nil then
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user