Skip to content

Commit

Permalink
Fix rubocop issues in generator
Browse files Browse the repository at this point in the history
  • Loading branch information
AliOsm committed Dec 14, 2024
1 parent 7a176d0 commit 93a8359
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion generators/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def make_components_lazy_loadable(path)

new_content = File.read("#{path}.rb").gsub(
/# auto-generated autoload: start.*# auto-generated autoload: end/m,
"# auto-generated autoload: start\n#{autoload_lines}\n # auto-generated autoload: end"
"# auto-generated autoload: start\n#{autoload_lines}\n # auto-generated autoload: end"
)

File.write("#{path}.rb", new_content)
Expand Down
2 changes: 1 addition & 1 deletion lib/phlex-icons/bootstrap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2060,6 +2060,6 @@ module Bootstrap # rubocop:disable Metrics/ModuleLength
autoload :ZeroSquareFill, 'phlex-icons/bootstrap/zero_square_fill'
autoload :ZoomIn, 'phlex-icons/bootstrap/zoom_in'
autoload :ZoomOut, 'phlex-icons/bootstrap/zoom_out'
# auto-generated autoload: end
# auto-generated autoload: end
end
end
2 changes: 1 addition & 1 deletion lib/phlex-icons/flag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ module Flag # rubocop:disable Metrics/ModuleLength
autoload :Za, 'phlex-icons/flag/za'
autoload :Zm, 'phlex-icons/flag/zm'
autoload :Zw, 'phlex-icons/flag/zw'
# auto-generated autoload: end
# auto-generated autoload: end

class << self
def configuration
Expand Down
2 changes: 1 addition & 1 deletion lib/phlex-icons/hero.rb
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ module Hero # rubocop:disable Metrics/ModuleLength
autoload :WrenchScrewdriver, 'phlex-icons/hero/wrench_screwdriver'
autoload :XCircle, 'phlex-icons/hero/x_circle'
autoload :XMark, 'phlex-icons/hero/x_mark'
# auto-generated autoload: end
# auto-generated autoload: end

class << self
def configuration
Expand Down
2 changes: 1 addition & 1 deletion lib/phlex-icons/lucide.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1554,6 +1554,6 @@ module Lucide # rubocop:disable Metrics/ModuleLength
autoload :ZapOff, 'phlex-icons/lucide/zap_off'
autoload :ZoomIn, 'phlex-icons/lucide/zoom_in'
autoload :ZoomOut, 'phlex-icons/lucide/zoom_out'
# auto-generated autoload: end
# auto-generated autoload: end
end
end
2 changes: 1 addition & 1 deletion lib/phlex-icons/radix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,6 @@ module Radix # rubocop:disable Metrics/ModuleLength
autoload :Width, 'phlex-icons/radix/width'
autoload :ZoomIn, 'phlex-icons/radix/zoom_in'
autoload :ZoomOut, 'phlex-icons/radix/zoom_out'
# auto-generated autoload: end
# auto-generated autoload: end
end
end
2 changes: 1 addition & 1 deletion lib/phlex-icons/remix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3030,6 +3030,6 @@ module Remix # rubocop:disable Metrics/ModuleLength
autoload :ZoomOutLine, 'phlex-icons/remix/zoom_out_line'
autoload :ZzzFill, 'phlex-icons/remix/zzz_fill'
autoload :ZzzLine, 'phlex-icons/remix/zzz_line'
# auto-generated autoload: end
# auto-generated autoload: end
end
end
2 changes: 1 addition & 1 deletion lib/phlex-icons/tabler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4916,7 +4916,7 @@ module Tabler # rubocop:disable Metrics/ModuleLength
autoload :ZoomScan, 'phlex-icons/tabler/zoom_scan'
autoload :Zzz, 'phlex-icons/tabler/zzz'
autoload :ZzzOff, 'phlex-icons/tabler/zzz_off'
# auto-generated autoload: end
# auto-generated autoload: end

class << self
def configuration
Expand Down

0 comments on commit 93a8359

Please sign in to comment.