method

bin_when_updating

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: Rails::AppBuilder
bin_when_updating() 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/generators/rails/app/app_generator.rb, line 87
    def bin_when_updating
      bin_yarn_exist = File.exist?("bin/yarn")

      bin

      if options[:api] && !bin_yarn_exist
        remove_file "bin/yarn"
      end
    end
Register or log in to add new notes.