method

ensure_credentials_have_been_added

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: CredentialsCommand
ensure_credentials_have_been_added() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/credentials/credentials_command.rb, line 58
        def ensure_credentials_have_been_added
          if options[:environment]
            encrypted_file_generator.add_encrypted_file_silently(content_path, key_path)
          else
            credentials_generator.add_credentials_file_silently
          end
        end
Register or log in to add new notes.