Skip to content

Commit

Permalink
Merge pull request #405 from Subjective/patch-1
Browse files Browse the repository at this point in the history
fix(123): typo in message
  • Loading branch information
pranavrao145 committed Jul 23, 2023
2 parents 85cf9cb + 3a253ac commit 7d57e01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/refactoring/refactor/123.lua
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ local function inline_var_setup(refactor)
refactor.ts.get_container(definition, refactor.ts.variable_scope)

if declarator_node == nil then
return false, "Coudn't determine declarator node"
return false, "Couldn't determine declarator node"
end
end

Expand Down Expand Up @@ -234,7 +234,7 @@ local function inline_var_normal_setup(refactor)
local declarator_node = refactor.region_node

if declarator_node == nil then
return false, "Coudn't determine declarator node"
return false, "Couldn't determine declarator node"
end

local identifiers = refactor.ts:get_local_var_names(declarator_node)
Expand Down Expand Up @@ -266,7 +266,7 @@ local function inline_var_normal_setup(refactor)
determine_identifier_position(identifiers, definition)

if identifier_pos == nil then
return false, "Cound't determine identifier position"
return false, "Couldn't determine identifier position"
end

local text_edits = get_inline_text_edits(
Expand Down

0 comments on commit 7d57e01

Please sign in to comment.