method

bin_when_updating

bin_when_updating()
public

No documentation available.

# 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