Skip to content

Commit 6f6da75

Browse files
Silence credentials generator in app generator
Follow-up to rails#45543. In rails#45543, `CredentialsGenerator#add_credentials_file_silently` was removed in favor of setting Thor's `quiet: true` option. However, the call to `CredentialsGenerator` in the app generator was not updated to use `quiet: true`.
1 parent 974de71 commit 6f6da75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/app_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def credentials
179179
return if options[:pretend] || options[:dummy_app]
180180

181181
require "rails/generators/rails/credentials/credentials_generator"
182-
Rails::Generators::CredentialsGenerator.new([], quiet: options[:quiet]).add_credentials_file
182+
Rails::Generators::CredentialsGenerator.new([], quiet: true).add_credentials_file
183183
end
184184

185185
def credentials_diff_enroll

0 commit comments

Comments
 (0)