Skip to content

Commit

Permalink
Use indent_with variable in create plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gma committed Jan 16, 2025
1 parent d2eef42 commit 433a723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nesta/commands/plugin/create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def nested_module_definition_with_version

code = []
lines.each_with_index do |line, i|
code << ' ' * (indent_levels[i] + 2) + line
code << indent_with * (indent_levels[i] + 2) + line
end
code.join("\n")
end
Expand Down

0 comments on commit 433a723

Please sign in to comment.