Skip to content

Commit 5fea59c

Browse files
committed
Rename template folder to avoid . prefix
The gemspec doesn't include files with the `.` prefix, so the released gem didn't include the devcontainer templates. This commit renames the folder to avoid the `.` prefix, following the same pattern as all the other `.` templates.
1 parent f961bbf commit 5fea59c

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

railties/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ class DevcontainerGenerator < Base # :nodoc:
3131
def create_devcontainer
3232
empty_directory ".devcontainer"
3333

34-
template ".devcontainer/devcontainer.json"
35-
template ".devcontainer/Dockerfile"
36-
template ".devcontainer/compose.yaml"
34+
template "devcontainer/devcontainer.json", ".devcontainer/devcontainer.json"
35+
template "devcontainer/Dockerfile", ".devcontainer/Dockerfile"
36+
template "devcontainer/compose.yaml", ".devcontainer/compose.yaml"
3737
end
3838

3939
def update_application_system_test_case

0 commit comments

Comments
 (0)