Skip to content

Commit 28e5522

Browse files
authored
Update install_generator.rb
Signed-off-by: Mohamed Hamza <mhamza15@github.com>
1 parent 7a4eb0f commit 28e5522

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/generators/ruby_ui/install/install_generator.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ def install_stuff
9292

9393
def pin_ruby_ui_js
9494
stimulus_path = Rails.root.join("app/javascript/application.js")
95-
package_name = "ruby_ui-js"
95+
package_name = "ruby_ui_js"
9696

9797
say "Add RubyUI Stimulus controllers"
98-
# run "mkdir -p app/javascript/controllers/ruby_ui-js"
98+
# run "mkdir -p app/javascript/controllers/ruby_ui_js"
9999
template "index.js", "app/components/ruby_ui/index.js"
100100

101101
if using_importmap?
@@ -122,7 +122,7 @@ def pin_ruby_ui_js
122122

123123
fix_import_maps!
124124
else
125-
say "Add ruby_ui-js package"
125+
say "Add ruby_ui_js package"
126126
run "yarn add #{package_name}"
127127

128128
append_to_file stimulus_path, "\nimport \"../components/ruby_ui\";\n"

0 commit comments

Comments
 (0)