Skip to content

Commit 2d6ce96

Browse files
committed
Fix a typo TLS -> LTS
1 parent 03e0bd5 commit 2d6ce96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

railties/lib/rails/generators/app_base.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AppBase < Base # :nodoc:
1515
include Database
1616
include AppName
1717

18-
NODE_TLS_VERSION = "18.15.0"
18+
NODE_LTS_VERSION = "18.15.0"
1919

2020
attr_accessor :rails_template
2121
add_shebang_option!
@@ -465,7 +465,7 @@ def node_version
465465
ENV.fetch("NODE_VERSION") do
466466
`node --version`[/\d+\.\d+\.\d+/]
467467
rescue
468-
NODE_TLS_VERSION
468+
NODE_LTS_VERSION
469469
end
470470
end
471471
end

0 commit comments

Comments
 (0)