Skip to content

Commit c2eaebb

Browse files
authored
Use .keep instead of .gitkeep to match Rails itself.
Also, if someone is not using git, a .gitkeep feels odd, where a .keep seems fine.
1 parent 339a563 commit c2eaebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/react/install_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def create_directory
2525
end
2626
empty_directory File.join(components_dir, 'components')
2727
unless options[:skip_git]
28-
create_file File.join(components_dir, 'components/.gitkeep')
28+
create_file File.join(components_dir, 'components/.keep')
2929
end
3030
end
3131

0 commit comments

Comments
 (0)