Skip to content

Commit

Permalink
fix(hosts): fix error msg when host not found
Browse files Browse the repository at this point in the history
Closes #16
  • Loading branch information
ruifm committed Jun 17, 2021
1 parent a89d865 commit 38938b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gitlinker/hosts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function M.get_matching_callback(target_host)
end
end
if not matching_callback then
error("No host callback defined for host '%s'", target_host)
error(string.format("No host callback defined for host '%s'", target_host))
end
return matching_callback
end
Expand Down

0 comments on commit 38938b2

Please sign in to comment.