method

disenroll_project_from_credentials_diffing

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Diffing
disenroll_project_from_credentials_diffing() public

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/diffing.rb, line 21
  def disenroll_project_from_credentials_diffing
    if enrolled_in_credentials_diffing?
      gitattributes.write(gitattributes.read.gsub(GITATTRIBUTES_ENTRY, ""))
      gitattributes.delete if gitattributes.empty?

      say "Disenrolled project from credentials file diffing!"
    else
      say "Project is not enrolled in credentials file diffing."
    end
  end
Register or log in to add new notes.