mirror of
https://github.com/neovim/neovim.git
synced 2026-05-02 03:55:00 +00:00
refactor: rename _ensure_integer => _assert_integer
This commit is contained in:
@@ -29,7 +29,7 @@ local function resolve_hash(hash)
|
||||
else
|
||||
local c = hash:match('^concat%-(%d+)')
|
||||
if c then
|
||||
hash = concat_hash(vim._ensure_integer(c))
|
||||
hash = concat_hash(vim._assert_integer(c))
|
||||
else
|
||||
error('invalid value for hash: ' .. hash)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user